GNU bug report logs - #10413
Invalid date result in specific date operations

Previous Next

Package: coreutils;

Reported by: Vicente Pérez M <vperez <at> citymovil.cl>

Date: Sat, 31 Dec 2011 21:20:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vicente Pérez M <vperez <at> citymovil.cl>
To: bug-coreutils <at> gnu.org
Subject: Invalid date result in specific date operations
Date: Thu, 29 Dec 2011 15:02:46 -0300
How to repeat:


date -d '2011-08-21 + 1 DAY' +%Y-%m-%d
date -d '2010-10-10 + 1 DAY' +%Y-%m-%d

These dates is just when change from normal time UTC-4 to dts UCT-3

result: invalid date

The same operation with --utc works fine.
date -d '2011-08-21 + 1 DAY' +%Y-%m-%d --utc
date -d '2010-10-10 + 1 DAY' +%Y-%m-%d --utc











This bug report was last modified 13 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.