diff libgaim/util.c @ 14998: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 0c80979077cf
children 9a69964d8c18
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')
 			{