diff options
| author | San Jacobs | 2026-01-23 21:53:33 +0100 |
|---|---|---|
| committer | San Jacobs | 2026-01-23 21:53:33 +0100 |
| commit | e8dfd55878dc8f28b64d07fa93a3485475c00784 (patch) | |
| tree | d9e3c27460d89c760a0ffce2a9e55c7a43f4d339 /time.odin | |
| parent | 1012edf3b15f707824a78977ec8a831da2ea845e (diff) | |
| download | statics-e8dfd55878dc8f28b64d07fa93a3485475c00784.tar.gz statics-e8dfd55878dc8f28b64d07fa93a3485475c00784.tar.bz2 statics-e8dfd55878dc8f28b64d07fa93a3485475c00784.zip | |
Tweaks for 1.0 release with aliases
Diffstat (limited to 'time.odin')
| -rw-r--r-- | time.odin | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -701,7 +701,7 @@ momentToString :: proc(moment: Moment) -> (output: string) { timeblockToString :: proc(block: Timeblock) -> (output: string) { using block s: [5]string = {} - output = fmt.aprintf("%s -> %s | %0.3f hrs | %s", toString(start), toString(end), hourcount(block), title) + output = fmt.aprintf("%s -> %02d:%02d | %0.3f hrs | %s", toString(start), end.hours, end.minutes, hourcount(block), title) return } toString :: proc{deltaToString, momentToString, timeblockToString} |