summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e2a78a)
raw | patch | inline | side by side (parent: 5e2a78a)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sat, 30 Apr 2005 22:21:57 +0000 (15:21 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sat, 30 Apr 2005 22:21:57 +0000 (15:21 -0700) |
Also, add EEST (hey, it's Finland).
date.c | patch | blob | history |
index 0022bf2179e883929c49054d69aec9f3f6b0ca83..d3bae90677ca89f366439cf26596831c3fb847c5 100644 (file)
--- a/date.c
+++ b/date.c
{ "FWT", +1, 0, }, /* French Winter */
{ "FST", +1, 1, }, /* French Summer */
{ "EET", +2, 0, }, /* Eastern Europe, USSR Zone 1 */
+ { "EEST", +2, 1, }, /* Eastern European Daylight */
{ "WAST", +7, 0, }, /* West Australian Standard */
{ "WADT", +7, 1, }, /* West Australian Daylight */
{ "CCT", +8, 0, }, /* China Coast, USSR Zone 7 */
/* This is bogus, but we like summer */
off += timezone_names[i].dst;
- *offset = 60*off;
+ /* Only use the tz name offset if we don't have anything better */
+ if (*offset == -1)
+ *offset = 60*off;
+
return match;
}
}