GNU bug report logs - #23664
Date Problem: Wrong return using last month today (2016-05-31)

Previous Next

Package: coreutils;

Reported by: "Felippe Silvestre" <silvestre <at> redeservice.com.br>

Date: Tue, 31 May 2016 18:29: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: "Felippe Silvestre" <silvestre <at> redeservice.com.br>
To: <bug-coreutils <at> gnu.org>
Subject: Date Problem: Wrong return using last month today (2016-05-31)
Date: Tue, 31 May 2016 15:14:18 -0300
[Message part 1 (text/plain, inline)]
[root <at> superdssbox999 ~]# date

Tue May 31 15:10:47 BRT 2016

 

[root <at> superdssbox999 ~]# date -d"last month"

Sun May  1 15:10:52 BRT 2016

 

[root <at> superdssbox999 ~]# date -d"last day last month"

Sat Apr 30 15:10:54 BRT 2016

[root <at> superdssbox999 ~]#

 

Atte.

 

Felippe Silvestre

[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 29 days ago.

Previous Next


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