Fix "timewarp" bug while listing changelog via "rpm -q --changelog"
authorJindrich Novy <jnovy@redhat.com>
Fri, 24 Oct 2008 10:31:02 +0000 (12:31 +0200)
committerJindrich Novy <jnovy@redhat.com>
Fri, 24 Oct 2008 10:31:02 +0000 (12:31 +0200)
- date is no more one day in advance than written in changelog

build/parseChangelog.c

index 1c6f7b4..c83771b 100644 (file)
@@ -89,8 +89,6 @@ static int dateToTimet(const char * datestr, time_t * secs)
     *secs = mktime(&time);
     if (*secs == -1) goto exit;
 
-    /* adjust to GMT */
-    *secs += timezone;
     rc = 0;
 
 exit: