Ok, so I can change the dwim rule (I didn't find any set_dst-method :)
if (sizeof(what)>19 && (t=parse(SPACED("%e %M %D %h:%m:%s %z DST %Y"),what,cx))) { string tz = t->tzname(); t->set_timezone( tz[..sizeof(tz)-2] + "S" + tz[sizeof(tz)-1..sizeof(tz)-1] ); return t; }
into
if (sizeof(what)>19 && (t=parse(SPACED("%e %M %D %h:%m:%s %z DST %Y"),what,cx))) return t;
?
/ Martin Nilsson (saturator)
Previous text:
2003-10-15 21:27: Subject: Timezones
No, confusingly enough, the timezone for "CEST" isn't "CEST", it's "CET". "CEST" is just the abbreviation for "CET" in summer time. (Europeeans doesn't use daylight savings time, but summer time.)
| # Zone NAME GMTOFF RULES FORMAT [UNTIL] | Zone CET 1:00 C-Eur CE%sT | | # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S | Rule C-Eur 1981 max - Mar lastSun 2:00s 1:00 S | Rule C-Eur 1996 max - Oct lastSun 2:00s 0 -
But that doesn't matter much, the zone expert system should find CET from CEST anyway. But then the hard part appears - from that point it must understand that you mean time in or out of the summer time rule by specifying "CET" or "CEST".
/ Mirar