bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10413: Invalid date result in specific date operations


From: Vicente Pérez M
Subject: bug#10413: Invalid date result in specific date operations
Date: Thu, 29 Dec 2011 15:02:46 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0

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












reply via email to

[Prev in Thread] Current Thread [Next in Thread]