timekeeper

[Abandoned unfinished] CGI web application in C for time tracking. (My first, just a learning project)
Log | Files | Refs | README

commit 1515c0248a00fe78171026f52583dfabc1c6b9a8
parent 28f4cb6bb272a7eaca33018e4568035e7914a9ea
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Mon, 11 Mar 2024 01:26:28 -0700

Don't force 24 hour output

While it's what I like, that's not the point of localization. In
the future I hope to provide an option to either localize date and
time or use strftime(3) %F and %T/%R formats.

Diffstat:
Mscripts/localize.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/localize.js b/scripts/localize.js @@ -1,7 +1,7 @@ function localize_time(time) { let date = new Date(Date.parse(time.dateTime)) let options = { - "hour12": false, + /* "hour12": false, */ "hour": "2-digit", "minute": "2-digit" }