[InterNetNews/inn] b66f27: Use Olson time zone identifiers in the test suite

Julien ÉLIE noreply at github.com
Wed Mar 13 20:56:10 UTC 2024


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: b66f2789fa584e9af6aa77d0cb4eed0c2efe4742
      https://github.com/InterNetNews/inn/commit/b66f2789fa584e9af6aa77d0cb4eed0c2efe4742
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M doc/pod/convdate.pod
    M tests/lib/date-t.c
    M tests/util/convdate.t

  Log Message:
  -----------
  Use Olson time zone identifiers in the test suite

Some tests were failing on Alpine Linux, based on musl, because PST8PDT
and EST5EDT do not use daylight saving time.  This behaviour complies
with POSIX, though different than what other systems do.  Let's then
use Olson time zone identifiers instead (America/Los_Angeles and
America/New_York), and fall back on PST8PDT and EST5EDT if these Olson
identifiers are not recognized.

Also, use America/St_Johns instead of the obsolete Canada/Newfoundland
time zone identifier.

close #200



To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications


More information about the inn-committers mailing list