emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#13388: closed (Date of 2012-10-21: "invalid date".


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13388: closed (Date of 2012-10-21: "invalid date". Bug?)
Date: Tue, 08 Jan 2013 17:34:02 +0000

Your message dated Tue, 08 Jan 2013 10:33:09 -0700
with message-id <address@hidden>
and subject line Re: bug#13388: Date of 2012-10-21: "invalid date". Bug?
has caused the debbugs.gnu.org bug report #13388,
regarding Date of 2012-10-21: "invalid date". Bug?
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
13388: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13388
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Date of 2012-10-21: "invalid date". Bug? Date: Tue, 08 Jan 2013 11:02:50 -0200 User-agent: Webmail

Hi,

 

    When I try to get the date of 2012-10-21:

 

address@hidden:~# date -d 20121021

date: invalid date `20121021'

 

    Is this a bug? The result is the same both in Opensuse Tumbleweed and Ubuntu 12.04.

 

Thanks and sorry for disturbing,

Danilo Luvizotto

 

 

--- End Message ---
--- Begin Message --- Subject: Re: bug#13388: Date of 2012-10-21: "invalid date". Bug? Date: Tue, 08 Jan 2013 10:33:09 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
tag 13388 notabug
thanks

On 01/08/2013 06:02 AM, address@hidden wrote:
>   
> 
> Hi, 
> 
>  When I try to get the date of 2012-10-21: 
> 
> address@hidden:~#
> date -d 20121021 
> 
> date: invalid date `20121021' 
> 
>  Is this a bug?

No.  It is a factor of daylight savings in your timezone.  Midnight does
not exist in your locale on that particular date.

You can use --utc to force the use of times where daylight savings has
no impact.  For more information, see the FAQ:
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

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