.
original commit: 6dec3f437f8f120bd27c439f1f21a6c5a1030d86
This commit is contained in:
parent
f3c316ab57
commit
2dfaff1957
|
@ -97,11 +97,13 @@
|
|||
[(3) "rd"]
|
||||
[(0 4 5 6 7 8 9) "th"])))
|
||||
(hour (date-hour date))
|
||||
(am-pm (if (> hour 12) "pm" "am"))
|
||||
(am-pm (if (>= hour 12) "pm" "am"))
|
||||
(hour24 (add-zero hour))
|
||||
(hour12 (if (> hour 12)
|
||||
(number->string (- hour 12))
|
||||
(number->string hour)))
|
||||
(hour12 (number->string
|
||||
(cond
|
||||
[(zero? hour) 12]
|
||||
[(> hour 12) (- hour 12)]
|
||||
[else hour])))
|
||||
(minute (add-zero (date-minute date)))
|
||||
(second (add-zero (date-second date))))
|
||||
(let-values
|
||||
|
|
Loading…
Reference in New Issue
Block a user