bug-gcal
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcal reporting Christmas day as the 26th?


From: Roger
Subject: Re: gcal reporting Christmas day as the 26th?
Date: Sat, 24 Dec 2022 16:18:27 -0500

I've also just tried a few of the other US states, and New York 
(--cc-holidays=US_NY) does report the correct 25th and 1st for Christmas and 
New Years, while apparently all other US states report 26th and 2nd.

$ ls -al /etc/localtime
/etc/localtime -> /usr/share/zoneinfo/America/New_York

I changed /etc/localtime to a few other /usr/share/zoneinfo/ files, such as:
/usr/share/zoneinfo/America/Phoenix
/usr/share/zoneinfo/US/Eastern

... and no change in reporting the 26th/2nd.


Again, this seemingly only popped-up once installing Ubuntu and upon 
experiencing Ubuntu BIOS/RTC clock timezone problems.  shrugs...

Dates on gcal source files indicate no changes since 2017, unless a New Yorker 
hacked the code.

WORKAROUND: If in US, set to US_NY for reporting correct US holidays.

Roger



> On Fri, Dec 23, 2022 at 04:00:36PM -0700, Stephen Wood wrote:
>   Hello, gcal maintainers!
>   It seems gcal is reporting the wrong day for Christmas, the 26th
>   instead of the 25th. At first I thought maybe I was localizing
>   incorrectly, but I've tried with various US_<STATE> and all of them are
>   reporting Christmas as the 26th.
>   $ date
>   Fri 23 Dec 2022 03:17:50 PM MST
>   $ gcal --holiday-list --cc-holiday=US_ID | grep Christmas
>   Christmas Day (US_ID) �  �  �  �  �  �  �  �  �  � + Mon,
>   � Dec:26th:2022 = �  +3 days
>   $ gcal --version
>   gcal (GNU cal) 4.1
>   Is there something I'm doing wrong? I also notice Christmas Eve is
>   missing which makes me suspicious that I have the wrong flags set
>   someplace.
>   Thank you,
>   Stephen

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]