[Bug 242998] x11-clocks/xclock: Digital strftime %G now gives year as 2020. It should be still 2019

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 8 01:05:50 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242998

--- Comment #4 from Tatsuki Makino <tatsuki_makino at hotmail.com> ---
(In reply to Niclas Zeising from comment #3)

I think it's just a matter of usage.
It should be used as follows:
xclock -d -update 86400 -strftime '%G-%V-%u'

Reading man 3 strftime makes it difficult to understand the relationship like
the result of the following command:
for d in $(jot 10 0) ; do date -v 2019y -v 12m -v 28d -v +${d}d '+%a %Y-%m-%d
%G-%V-%u %Y-%U-%w %Y-%W-%u' ; done

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list