[Remind-Fans] DST

David F. Skoll dfs at roaringpenguin.com
Wed Mar 14 20:29:03 EDT 2012


On Wed, 14 Mar 2012 18:57:09 -0400
Justin Alcorn <justin at jalcorn.net> wrote:

> Yes, that is true.  It's 2012.  It's been wrong for 5 years?

There are two separate issues:

1) How does Remind know internally whether DST is active?  Answer: It uses
your C library time functions.  Those are almost certainly correct.

2) How about the examples in examples/defs.rem?  Answer: Those were updated.
The OP might have an old version of Remind.  My defs.rem says:

FSET _last(mo) "1 " + MON((mo%12)+1) + " --7"
REM Sun Apr 1 ++2 UNTIL 1 Jan 2007 MSG Daylight Savings Time - %"DST starts%" %b
REM Sun Mar 8 ++2 FROM 1 Jan 2007 MSG Daylight Savings Time - %"DST starts%" %b

REM Sun [_last(10)] UNTIL 1 Jan 2007 ++2 MSG Daylight Savings Time - %"DST over%" %b
REM Sun 1 Nov FROM 1 Jan 2007 ++2 MSG Daylight Savings Time - %"DST over%" %b

which looks correct to me...

Regards,

David.


More information about the Remind-fans mailing list