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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242998

--- Comment #4 from Tatsuki Makino <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.