2011-01-19 18:26:51 -05:00
|
|
|
$OpenBSD: patch-src_osm_c,v 1.2 2011/01/19 23:26:51 landry Exp $
|
|
|
|
--- src/osm.c.orig Thu Jan 20 00:11:32 2011
|
|
|
|
+++ src/osm.c Thu Jan 20 00:12:53 2011
|
|
|
|
@@ -99,7 +99,7 @@ time_t convert_iso8601(const char *str) {
|
2009-09-04 14:19:41 -04:00
|
|
|
memset(&ctime, 0, sizeof(struct tm));
|
2011-01-19 18:26:51 -05:00
|
|
|
strptime(str, "%FT%T%z", &ctime);
|
|
|
|
|
2009-09-04 14:19:41 -04:00
|
|
|
- return mktime(&ctime) - timezone;
|
|
|
|
+ return mktime(&ctime);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* -------------------- tag handling ----------------------- */
|