changeset 14997:fee45b614eb7

[gaim-migrate @ 17776] Properly handle conversions of UTC timestamps when they are across the DST boundary from now. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 19 Nov 2006 05:56:07 +0000
parents 33ac3c591b4a
children db590283788d
files libgaim/util.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/util.c	Sat Nov 18 05:53:07 2006 +0000
+++ b/libgaim/util.c	Sun Nov 19 05:56:07 2006 +0000
@@ -791,6 +791,10 @@
 				 * if we know the UTC offset already. */
 				t->tm_isdst = 0;
 			}
+			else if (utc)
+			{
+				t->tm_isdst = 0;
+			}
 
 			if (rest != NULL && *c != '\0')
 			{