[sf-lug] Fixed: update of meeting schedule on web page was updating prematurely
Michael Paoli
michael.paoli at berkeley.edu
Sun May 3 13:26:45 PDT 2026
Fixed: update of meeting schedule on web page was updating prematurely
Looks like that issue probably started some months or so back,
apparently as side-effect of Debian 12 --> 13 upgrade.
Would appear the tzdata package got split into
tzdata and tzdata-legacy, and the latter wasn't
installed, and with that the US/Pacific zone
was lost (used in the program), and was thus
defaulting to UTC/GMT0 (but PST8PDT was never lost).
Anyway, installed tzdata-legacy, and should now
all be fine once again.
$ TZ=GMT0 faketime '2026-06-07 12:59:59' update_meeting_schedule -f -n
2>&1 | fgrep -e 'next meeting is on' -e 'already has current' | sort
-u
The next meeting is on <b>Sunday June 7th, from 11:00 AM until 1:00
PM</b>, at:<BR>
update_meeting_schedule: /var/www/www.sf-lug.org/index.html already
has current schedule, exiting
$ TZ=GMT0 faketime '2026-06-07 13:00:00' update_meeting_schedule -f -n
2>&1 | fgrep -e 'next meeting is on' -e 'already has current' | sort
-u
The next meeting is on <b>Sunday July 5th, from 11:00 AM until 1:00
PM</b>, at:<BR>
$ TZ=GMT0 date; TZ=US/Pacific date
Sun May 3 20:18:01 GMT 2026
Sun May 3 20:18:01 2026
$
# (cd / && umask 022 && apt-get install tzdata-legacy)
$ TZ=GMT0 faketime '2026-06-07 19:59:59' update_meeting_schedule -f -n
2>&1 | fgrep -e 'next meeting is on' -e 'already has current' | sort
-u
The next meeting is on <b>Sunday June 7th, from 11:00 AM until 1:00
PM</b>, at:<BR>
update_meeting_schedule: /var/www/www.sf-lug.org/index.html already
has current schedule, exiting
$ TZ=GMT0 faketime '2026-06-07 20:00:00' update_meeting_schedule -f -n
2>&1 | fgrep -e 'next meeting is on' -e 'already has current' | sort
-u
The next meeting is on <b>Sunday July 5th, from 11:00 AM until 1:00
PM</b>, at:<BR>
$ TZ=GMT0 date; TZ=US/Pacific date
Sun May 3 20:20:48 GMT 2026
Sun May 3 13:20:48 PDT 2026
$
https://www.sf-lug.org/~sflugwww/bin/update_meeting_schedule
More information about the sf-lug
mailing list