View Single Post
Old 07-21-2023, 01:45 PM   #959
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,053
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by curiousdreamer View Post
@DNSB

Yes that's what I meant haha. Thank you so much for this, your solution worked! Kinda wish there was an AM/PM indicator next to the time but it's NBD.
I think if you add a %p or %P after the %M, it will show %P=am/pm or %p=AM/PM (backwards that the lower case p will show upper case AM/PM).

Code:
time-format = "%I:%M %P"
This is lifted from the link in the settings.toml file's link to Module chrono::format::strftime so you may want to check there for more information.
DNSB is offline   Reply With Quote