marcinjakubowski / date-menu-formatter

Date Menu Formatter GNOME Shell extension
GNU General Public License v2.0
34 stars 15 forks source link

1-12 am is actually 0-11 #10

Closed hhhorb closed 1 year ago

hhhorb commented 1 year ago

Currently the midnight hour here in the U.S., almost 1 o'clock, and this otherwise excellent extension is displaying the time as 0:59. Code is h:mm. h is listed as -hour (1-12).

So this time shouldn't be 0:59, it should be 12:59. Nobody using a 12 hour clock ever uses 0 as a time. It's 12 midnight and 12 noon.

Thanks for the awesome extension!

hhhorb commented 1 year ago

Or you could just implement the standard codes so I could use %l:%M

https://man7.org/linux/man-pages/man3/strftime.3.html

hhhorb commented 1 year ago

So, no interest in this, or providing a hack to a js file to change this for me?

marcinjakubowski commented 1 year ago

duplicates #3, just released a fix