Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Emacs Lisp: Writing a Date Time String Parsing Function
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Xah Lee  
View profile  
 More options Sep 21 2011, 7:28 pm
Newsgroups: comp.emacs, comp.lang.lisp
From: Xah Lee <xah...@gmail.com>
Date: Wed, 21 Sep 2011 16:28:43 -0700 (PDT)
Local: Wed, Sep 21 2011 7:28 pm
Subject: Re: Emacs Lisp: Writing a Date Time String Parsing Function
〈Emacs Lisp: Writing a Date Time String Parsing Function〉
http://xahlee.org/emacs/elisp_parse_time.html

On Sep 21, 4:48 am, "Oleksandr Gavenko (gavenkoa)"

as far as i know, using space instead of T is not part of the ISO 8601
standard. Or did they change?

i know that there are standards based on ISO 8601 that allows space. I
think it's part of some XML. Anyone know which standard is it?

 Xah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antony  
View profile  
 More options Sep 22 2011, 10:20 am
Newsgroups: comp.lang.lisp
From: Antony <remove+spam_lisp.li...@gmail.com>
Date: Thu, 22 Sep 2011 07:20:36 -0700
Local: Thurs, Sep 22 2011 10:20 am
Subject: Re: Emacs Lisp: Writing a Date Time String Parsing Function
On 9/21/2011 4:28 PM, Xah Lee wrote:
>> Emacs understand only (space instead 'T', no timezone):

>> (parse-time-string "1985-04-12 10:15:30") ; OK

> as far as i know, using space instead of T is not part of the ISO 8601
> standard. Or did they change?

> i know that there are standards based on ISO 8601 that allows space. I
> think it's part of some XML. Anyone know which standard is it?

I just happen to stumble on this today
http://diveintohtml5.org/semantics.html#time-element
Although I am sure that's not the origin of the T thing

-Antony


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oleksandr Gavenko (aka gavenkoa)  
View profile  
 More options Sep 26 2011, 4:52 pm
Newsgroups: comp.emacs, comp.lang.lisp
From: "Oleksandr Gavenko (aka gavenkoa)" <gaven...@gmail.com>
Date: Mon, 26 Sep 2011 13:52:15 -0700 (PDT)
Local: Mon, Sep 26 2011 4:52 pm
Subject: Re: Emacs Lisp: Writing a Date Time String Parsing Function
On 22 сен, 02:28, Xah Lee <xah...@gmail.com> wrote:

I know, Xah )) Look:

Network Working Group                                           G.
Klyne
Request for Comments: 3339                        Clearswift
Corporation
Category: Standards Track                                      C.
Newman
                                                        Sun
Microsystems
                                                               July
2002

               Date and Time on the Internet: Timestamps

In "Internet Date/Time Format" section written:

      NOTE: ISO 8601 defines date and time separated by "T".
      Applications using this syntax may choose, for the sake of
      readability, to specify a full-date and full-time separated by
      (say) a space character.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oleksandr Gavenko (aka gavenkoa)  
View profile  
 More options Sep 26 2011, 5:01 pm
Newsgroups: comp.emacs, comp.lang.lisp
From: "Oleksandr Gavenko (aka gavenkoa)" <gaven...@gmail.com>
Date: Mon, 26 Sep 2011 14:01:18 -0700 (PDT)
Local: Mon, Sep 26 2011 5:01 pm
Subject: Re: Emacs Lisp: Writing a Date Time String Parsing Function
On 22 сен, 02:28, Xah Lee <xah...@gmail.com> wrote:
> as far as i know, using space instead of T is not part of the ISO 8601
> standard. Or did they change?

I look into ISO_8601-2004_E.pdf and found:

  Unless explicitly allowed by this International Standard the
character
   “space” shall not be used in the representations.

and all other occurrence of 'space' keyword with 'without' word.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xah Lee  
View profile  
 More options Sep 26 2011, 8:11 pm
Newsgroups: comp.emacs, comp.lang.lisp
From: Xah Lee <xah...@gmail.com>
Date: Mon, 26 Sep 2011 17:11:01 -0700 (PDT)
Local: Mon, Sep 26 2011 8:11 pm
Subject: Re: Emacs Lisp: Writing a Date Time String Parsing Function

Xah Lee wrote:
> as far as i know, using space instead of T is not part of the ISO 8601
> standard. Or did they change?
> i know that there are standards based on ISO 8601 that allows space. I
> think it's part of some XML. Anyone know which standard is it?

Oleksandr Gavenko (aka gavenkoa) <gaven...@gmail.com> wrote:

>  http://tools.ietf.org/html/rfc3339
> In "Internet Date/Time Format" section written:

>       NOTE: ISO 8601 defines date and time separated by "T".
>       Applications using this syntax may choose, for the sake of
>       readability, to specify a full-date and full-time separated by
>       (say) a space character.

Thanks.

 Xah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »