|Subject:||Re: gcal reporting Christmas day as the 26th?|
|Date:||Sat, 24 Dec 2022 15:26:16 -0700|
observe_us_hdy = SAFR_SUMO;
observe_us_hdy = SASA_SUSU;
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:
... 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.
> 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
> Thank you,
|[Prev in Thread]||Current Thread||[Next in Thread]|