Download frontend/src/utils/format.ts from Jessedbrown/schedule-manager: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/Jessedbrown/schedule-manager/resolve/main/frontend/src/utils/format.ts
- Command line
-
hf download hf://Jessedbrown/schedule-manager/frontend/src/utils/format.ts
-
curl -L -o format.ts https://huggingface.co/Jessedbrown/schedule-manager/resolve/main/frontend/src/utils/format.ts
275 Bytes
| /** | |
| * Format time string for conflict display (HH:MM) | |
| */ | |
| export function formatConflictTime(time: string): string { | |
| return time.slice(0, 5); | |
| } | |
| /** | |
| * Format date string for conflict display | |
| */ | |
| export function formatConflictDate(date: string): string { | |
| return date; | |
| } | |