formatNumberToTwoDigits() — supabase Function Reference
Architecture documentation for the formatNumberToTwoDigits() function in PITR.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 04fc0bcf_fc0a_fe8c_8588_dbe74dea5348["formatNumberToTwoDigits()"] eb6a76b3_9e64_a00e_d47a_fc4d6b1d2710["formatTimeToTimeString()"] eb6a76b3_9e64_a00e_d47a_fc4d6b1d2710 -->|calls| 04fc0bcf_fc0a_fe8c_8588_dbe74dea5348 326db367_c0df_96cd_0aa5_37f6692822cb["PITRForm()"] 326db367_c0df_96cd_0aa5_37f6692822cb -->|calls| 04fc0bcf_fc0a_fe8c_8588_dbe74dea5348 63622b1d_ddd5_67e6_5551_ce8f51949841["TimeInput()"] 63622b1d_ddd5_67e6_5551_ce8f51949841 -->|calls| 04fc0bcf_fc0a_fe8c_8588_dbe74dea5348 style 04fc0bcf_fc0a_fe8c_8588_dbe74dea5348 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Database/Backups/PITR/PITR.utils.ts lines 29–34
export const formatNumberToTwoDigits = (number: Number) => {
return number.toLocaleString('en-US', {
minimumIntegerDigits: 2,
useGrouping: false,
})
}
Domain
Subdomains
Source
Frequently Asked Questions
What does formatNumberToTwoDigits() do?
formatNumberToTwoDigits() is a function in the supabase codebase.
What calls formatNumberToTwoDigits()?
formatNumberToTwoDigits() is called by 3 function(s): PITRForm, TimeInput, formatTimeToTimeString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free