Commit da485e8
committed
time: Tick per sec if strftime has seconds spec
It's possible to have a discrepancy between strftime and the
show_seconds setting. If show_seconds is disabled but a user's strftime
formatter has a seconds specifier, then the time applet won't update
seconds because it's internally ticking per minute.
The fix is to ensure that the time applet updates per second regardless
of the user's setting if strftime has a seconds specifier. This is an
internal flag and shouldn't affect the user's show_seconds setting.1 parent 59a9bb1 commit da485e8
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
604 | 609 | | |
605 | 610 | | |
606 | 611 | | |
607 | | - | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
608 | 626 | | |
609 | 627 | | |
610 | 628 | | |
| |||
0 commit comments