shared/src/utils/date.utils
Interfaces
| Interface | Description |
|---|---|
| FormatTimeOptions | Options for FormatTime function to control how time is formatted. |
Variables
| Variable | Description |
|---|---|
| formatDueDate | Formats a due date into a relative string (e.g., "Overdue", "Due today", "Due in 3 days"). |
| formatTime | Formats a duration in seconds as a human-readable time string. |
| formatTimestamp | Formats a timestamp into a relative string (e.g., "Just now", "2h ago", "5d ago"). |