bug-coreutils
[Top][All Lists]
Advanced

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

bug in date-command


From: Bas Mijling
Subject: bug in date-command
Date: Fri, 13 Mar 2009 14:44:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14

Hi,

I use the date command to find the next day of a date written in the 'yyyymmdd' format,
e.g. for 25 October 2008

date -d "20081025 1 days" +%Y%m%d

which gives as result the next day: 20081026


This works perfect for all dates I used so far, apart from a (strangely enough) 20081026

date -d "20081026 1 days" +%Y%m%d

returns the same datecode: 20081026


If you manage to reproduce this behaviour at your system too there might be a bug in the `date` utility
Regards,

Bas Mijling




reply via email to

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