stuartlangridge/gnome-shell-clock-override

Clock face rounding and vulgar fraction rounding do not coincide

Opened this issue ยท 3 comments

For the minute range :00 to :29 the Unicode symbols CLOCK FACE XXX OCLOCK is used (e.g. ๐Ÿ•’), for the range :30 to :59 CLOCK FACE XXX-THIRTY is used (e.g. ๐Ÿ•ฃ). This means that the minutes are truncated (rounded down) to half hours.
The vulgar fractions on the other side are rounded to the nearest quarter hour.

This is unintuitive behavior and leads to results as "๐Ÿ•” 17 1/2" for times such as 17:28. Note that the vulgar fraction already shows "half past" but the Unicode clock face still represents "whole" hour.

I think the OCLOCK symbol should be used for the range :45 to :14 and the THIRTY symbol for the range :15 to :44.

Consequence of writing tests and getting unexpected results...

da2x commented

Agreed. Pull requests are welcome.

Will do, but tests first.