GNU bug report logs - #17253
date "--date=-x\ days"

Previous Next

Package: coreutils;

Reported by: hanes <h.feiner <at> gmx.at>

Date: Sat, 12 Apr 2014 18:32:03 UTC

Severity: normal

Tags: moreinfo

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: hanes <h.feiner <at> gmx.at>
To: 17253 <at> debbugs.gnu.org
Subject: bug#17253: date "--date=-x\ days"
Date: Sat, 12 Apr 2014 17:44:27 +0200
Hello,

Tonight (12. of April) in the hour after Midnight I encountered a
missing day when I used the '--date=-13\ days' option.
I can reproduce the bug best, when going backwards in hours;
as far as I can see, there is a hour missing on 30. of March between 01
and 03 O'Clock.

My output is:
date +%Y.%m.%d__%H_%M
2014.04.12__17_28

date +%Y.%m.%d__%H_%M --date=-326\ hours
2014.03.30__03_28

date +%Y.%m.%d__%H_%M --date=-327\ hours
2014.03.30__01_28


I am working on a Ubuntu Linux 64bit Mashine.

with Kind Regards,

hanes





This bug report was last modified 11 years and 44 days ago.

Previous Next


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