Hi, again,

One other thing I should mention is that Remind has no way to know if
you use a valid time zone name.  That's because the POSIX API for
setting a timezone is (I kid you not...):

        setenv("TZ", the_zone_name, 1);
        tzset();

and tzset() returns void... there's no possible error return from
tzset()... not even errno.  This is not one of POSIX's shining moments.

On Linux with glibc, if you say:

    REM TZ banana AT 00:00 MSG It's midnight, banana-time!

then you get UTC.  I have no idea what happens on non-Linux systems.
If anyone knows of a portable and reliable way to validate a time zone
name for correctness, I'm all ears.

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to