summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2008-10-24 12:31:02 +0200
committerJindrich Novy <jnovy@redhat.com>2008-10-24 12:31:02 +0200
commitaeb672ca42cf0cce6d9f3d302f4d04513fc673c3 (patch)
treee36dc7cfffe3a8f5a476b24291564415f4fa230f /build
parentccbb618bfc2bb2a74674b9e49c5637abb34515d9 (diff)
downloadrpm-aeb672ca42cf0cce6d9f3d302f4d04513fc673c3.tar.gz
rpm-aeb672ca42cf0cce6d9f3d302f4d04513fc673c3.tar.bz2
rpm-aeb672ca42cf0cce6d9f3d302f4d04513fc673c3.zip
Fix "timewarp" bug while listing changelog via "rpm -q --changelog"
- date is no more one day in advance than written in changelog
Diffstat (limited to 'build')
-rw-r--r--build/parseChangelog.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/build/parseChangelog.c b/build/parseChangelog.c
index 1c6f7b4b8..c83771b07 100644
--- a/build/parseChangelog.c
+++ b/build/parseChangelog.c
@@ -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: