getDatesBetweenRange() — supabase Function Reference
Architecture documentation for the getDatesBetweenRange() function in PITR.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD f325fc6a_a0ae_2eb4_29c2_664047c046ee["getDatesBetweenRange()"] 326db367_c0df_96cd_0aa5_37f6692822cb["PITRForm()"] 326db367_c0df_96cd_0aa5_37f6692822cb -->|calls| f325fc6a_a0ae_2eb4_29c2_664047c046ee style f325fc6a_a0ae_2eb4_29c2_664047c046ee fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Database/Backups/PITR/PITR.utils.ts lines 13–17
export const getDatesBetweenRange = (startDate: dayjs.Dayjs, endDate: dayjs.Dayjs) => {
const diff = endDate.diff(startDate, 'day')
return Array.from({ length: diff }, (_, index) => startDate.add(index, 'day'))
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getDatesBetweenRange() do?
getDatesBetweenRange() is a function in the supabase codebase.
What calls getDatesBetweenRange()?
getDatesBetweenRange() is called by 1 function(s): PITRForm.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free