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
Change in date format?
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
  21 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
 
Mihai Parparita  
View profile  
 More options May 22 2007, 8:09 am
From: Mihai Parparita <mihai.parpar...@gmail.com>
Date: Tue, 22 May 2007 12:09:16 -0000
Local: Tues, May 22 2007 8:09 am
Subject: Change in date format?
Dates contained in the API's JSON output used to be of the form:

Sat May 19 23:04:54 +0000 2007

Now they are:

05/22/2007 03:15:23 UTC

Is this change intentional and permanent? The XML output is still
using the old date format.

Mihai


 
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.
thilo.horstm...@gmail.com  
View profile  
 More options May 22 2007, 9:10 am
From: thilo.horstm...@gmail.com
Date: Tue, 22 May 2007 06:10:36 -0700
Local: Tues, May 22 2007 9:10 am
Subject: Re: Change in date format?
I observed the same. Changes like that are not very helpful when you
develop against the twitter API (like I do http://www.twibble.de)

On May 22, 2:09 pm, Mihai Parparita <mihai.parpar...@gmail.com> wrote:


 
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.
DeWitt Clinton  
View profile  
 More options May 22 2007, 1:38 pm
From: "DeWitt Clinton" <dew...@unto.net>
Date: Tue, 22 May 2007 10:38:15 -0700
Local: Tues, May 22 2007 1:38 pm
Subject: Re: Change in date format?

Hi all,

Any update on this?  The python client broke because of this (unannounced?)
change.  As did most clients, I suspect.

-DeWitt

On 5/22/07, thilo.horstm...@gmail.com <thilo.horstm...@gmail.com> wrote:


 
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.
Alex Payne  
View profile  
 More options May 22 2007, 1:58 pm
From: "Alex Payne" <a...@al3x.net>
Date: Tue, 22 May 2007 10:58:24 -0700
Local: Tues, May 22 2007 1:58 pm
Subject: Re: Change in date format?
Shoot.  This wasn't an intentional change.  I'll try to fix this ASAP.

On 5/22/07, thilo.horstm...@gmail.com <thilo.horstm...@gmail.com> wrote:

--
Alex Payne
http://twitter.com/al3x

 
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.
Britt Selvitelle  
View profile  
 More options May 22 2007, 2:35 pm
From: "Britt Selvitelle" <anotherbr...@gmail.com>
Date: Tue, 22 May 2007 11:35:13 -0700
Local: Tues, May 22 2007 2:35 pm
Subject: Re: Change in date format?

Putting in a fix for this now! Sorry guys.

On 5/22/07, Mihai Parparita <mihai.parpar...@gmail.com> wrote:

--
Britt Selvitelle
Do you follow me? http://twitter.com/bs

 
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.
alexkingorg  
View profile  
 More options May 22 2007, 3:39 pm
From: alexkingorg <alexking...@gmail.com>
Date: Tue, 22 May 2007 19:39:55 -0000
Local: Tues, May 22 2007 3:39 pm
Subject: Re: Change in date format?
Twitter Tools is broken on this as well...

--Alex

http://alexking.org

On May 22, 11:38 am, "DeWitt Clinton" <dew...@unto.net> wrote:


 
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.
Britt Selvitelle  
View profile  
 More options May 22 2007, 4:53 pm
From: "Britt Selvitelle" <anotherbr...@gmail.com>
Date: Tue, 22 May 2007 13:53:49 -0700
Local: Tues, May 22 2007 4:53 pm
Subject: Re: Change in date format?

This has been fixed. Please let me know if you ahve any problems!

Also, I think the new format that was implemented
http://dev.rubyonrails.org/ticket/8399 (which caused the format to change)
would make it much easier for developers to parse. What would everyone think
about moving to this format in the future?

On 5/22/07, alexkingorg <alexking...@gmail.com> wrote:

--
Britt Selvitelle
Do you follow me? http://twitter.com/bs

 
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.
Mihai Parparita  
View profile  
 More options May 22 2007, 9:40 pm
From: Mihai Parparita <mihai.parpar...@gmail.com>
Date: Wed, 23 May 2007 01:40:39 -0000
Local: Tues, May 22 2007 9:40 pm
Subject: Re: Change in date format?
Even easier to parse would be a timestamp in the form of
(milli)seconds since the epoch UTC. This can be passed to the
JavaScript Date constructor, and other languages have similar
constructrs.

If you introduce that in another JSON property (e.g.
created_at_in_seconds) then this won't have any backward compatibility
issues either.

Mihai

On May 22, 4:53 pm, "Britt Selvitelle" <anotherbr...@gmail.com> wrote:


 
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.
Cameron Kaiser  
View profile  
 More options May 22 2007, 9:57 pm
From: Cameron Kaiser <spec...@floodgap.com>
Date: Tue, 22 May 2007 18:57:08 -0700 (PDT)
Local: Tues, May 22 2007 9:57 pm
Subject: Re: Change in date format?

> Even easier to parse would be a timestamp in the form of
> (milli)seconds since the epoch UTC. This can be passed to the
> JavaScript Date constructor, and other languages have similar
> constructrs.

I think this is a fine idea as well, although I vote for seconds for
ctime() and allies.

--
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Support your local hospital. Play hockey. ----------------------------------


 
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.
bear  
View profile  
 More options May 22 2007, 10:48 pm
From: bear <bea...@gmail.com>
Date: Wed, 23 May 2007 02:48:16 -0000
Local: Tues, May 22 2007 10:48 pm
Subject: Re: Change in date format?
You have the full spread of languages represented in the cloud of
clients that are API consumers, so it doesn't really matter what
format you use to be honest :)

Keeping it in a text format that is also an ISO format helps with
human readers.

The format given above is ambiguous at best because of mm/dd or dd/mm
issues and lets not even get into the use of / as a date separator or
if UTC is a timezone ;)

thanks!

On May 22, 4:53 pm, "Britt Selvitelle" <anotherbr...@gmail.com> wrote:

> This has been fixed. Please let me know if you ahve any problems!

> Also, I think the new format that was implementedhttp://dev.rubyonrails.org/ticket/8399(which caused the format to change)
> would make it much easier for developers to parse. What would everyone think
> about moving to this format in the future?

---
bear

Build and Release Engineer
Open Source Applications Foundation (OSAF)
b...@osafoundation.org
http://www.osafoundation.org

b...@code-bear.com
http://code-bear.com


 
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.
thilo.horstm...@gmail.com  
View profile  
 More options May 23 2007, 3:38 am
From: thilo.horstm...@gmail.com
Date: Wed, 23 May 2007 00:38:29 -0700
Local: Wed, May 23 2007 3:38 am
Subject: Re: Change in date format?
When you say the format is something like "Sat May 19 23:04:54 +0000
2007" can a client assume that it will always be in UTC? A few words
in the docs on the usage and formatting of dates, times, timezones
etc. in the twitter API would be helpful. I'm sure about the new
format. Although easier to parse is does not comply to any standard I
believe?

Another interface issue: In the Web interface a user selects the time
zone in the profile. In Germany we currently have Central European
Summer Time CEST, i.e. UTC +2 (or GMT +2). The date selector offers
Berlin (GMT +1). Berlin is ok but GMT +1 is not. A indication of day
light saving time may avoid confusion here.

On May 22, 10:53 pm, "Britt Selvitelle" <anotherbr...@gmail.com>
wrote:


 
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.
Mihai Parparita  
View profile  
 More options Jun 19 2007, 7:38 pm
From: Mihai Parparita <mihai.parpar...@gmail.com>
Date: Tue, 19 Jun 2007 23:38:52 -0000
Local: Tues, Jun 19 2007 7:38 pm
Subject: Re: Change in date format?
This seems to be happening again.

Mihai

On May 22, 8:09 am, Mihai Parparita <mihai.parpar...@gmail.com> wrote:


 
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.
Britt Selvitelle  
View profile  
 More options Jun 19 2007, 9:43 pm
From: "Britt Selvitelle" <anotherbr...@gmail.com>
Date: Tue, 19 Jun 2007 18:43:33 -0700
Local: Tues, Jun 19 2007 9:43 pm
Subject: Re: Change in date format?

I've fixed this. It was a change in some of the internals, where JSON
fomrats were changed from:
%a %d %b %H:%M:%S %z %Y
  to
%m/%d/%Y %H:%M:%S %Z

... for example:
Sat May 19 23:04:54 +0000 2007
  to
05/22/2007 03:15:23 UTC

So I've rolled back to our existing method, but it's pretty hard to parse.
The new method is parsed by most languages, and fits right into JS Date
objects.

So going forward, would developers rather us switch to the latter of the two
formats above? I want to provide time for everyone to change their
applications if you want the change to be made.

Thanks!
Britt

On 6/19/07, Mihai Parparita <mihai.parpar...@gmail.com> wrote:

--
Britt Selvitelle
Do you follow me? http://twitter.com/bs

 
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.
Cameron Kaiser  
View profile  
 More options Jun 19 2007, 9:56 pm
From: Cameron Kaiser <spec...@floodgap.com>
Date: Tue, 19 Jun 2007 18:56:33 -0700 (PDT)
Local: Tues, Jun 19 2007 9:56 pm
Subject: Re: Change in date format?

I prefer the latter, but can live with the former.

--
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Either he's dead, or my watch has stopped. -- Groucho Marx -----------------


 
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.
Mihai Parparita  
View profile  
 More options Jun 19 2007, 11:25 pm
From: Mihai Parparita <mihai.parpar...@gmail.com>
Date: Wed, 20 Jun 2007 03:25:28 -0000
Local: Tues, Jun 19 2007 11:25 pm
Subject: Re: Change in date format?
As long as these changes are announced, I'm fine with either format.

More importantly, formats are still incorrect. Now I'm seeing:

Wed 20 Jun 03:15:24 +0000 2007

Before the format was:

Sun May 27 06:50:49 +0000 2007

(note the month name and day order)

Mihai

On Jun 19, 9:43 pm, "Britt Selvitelle" <anotherbr...@gmail.com> wrote:


 
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.
DeWitt Clinton  
View profile  
 More options Jun 20 2007, 10:29 am
From: "DeWitt Clinton" <dew...@unto.net>
Date: Wed, 20 Jun 2007 07:29:21 -0700
Local: Wed, Jun 20 2007 10:29 am
Subject: Re: Change in date format?
I agree with Mihai.  I think people will be fine with whichever
format, as long as it stays consistent and we know well in advance of
any changes.

For instance, the python library has been failing for the past day with:

  ValueError: time data did not match format:  data=Wed 13 Jun
20:05:15 +0000 2007  fmt=%a %b %d %H:%M:%S +0000 %Y

Since this breaks all code that uses that library, should I push out a
new version with the new date format, will the server revert to the
old format, or something else?

Thanks!

-DeWitt

On 6/19/07, Mihai Parparita <mihai.parpar...@gmail.com> wrote:


 
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.
bear  
View profile  
 More options Jun 20 2007, 1:11 pm
From: bear <bea...@gmail.com>
Date: Wed, 20 Jun 2007 17:11:08 -0000
Local: Wed, Jun 20 2007 1:11 pm
Subject: Re: Change in date format?
I also agree - pick a format and please stick with it :)

On Jun 20, 10:29 am, "DeWitt Clinton" <dew...@unto.net> wrote:


 
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.
Britt Selvitelle  
View profile  
 More options Jun 20 2007, 2:18 pm
From: "Britt Selvitelle" <anotherbr...@gmail.com>
Date: Wed, 20 Jun 2007 11:18:21 -0700
Local: Wed, Jun 20 2007 2:18 pm
Subject: Re: Change in date format?

Sorry! I've reverted it back to the really true original. I'm going to send
out a message with a switchover date for a new format shortly.

On 6/20/07, bear <bea...@gmail.com> wrote:

> I also agree - pick a format and please stick with it :)

> On Jun 20, 10:29 am, "DeWitt Clinton" <dew...@unto.net> wrote:
> > I agree with Mihai.  I think people will be fine with whichever
> > format, as long as it stays consistent and we know well in advance of
> > any changes.

--
Britt Selvitelle
Do you follow me? http://twitter.com/bs

 
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.
alexkingorg  
View profile  
 More options Jun 20 2007, 2:22 pm
From: alexkingorg <alexking...@gmail.com>
Date: Wed, 20 Jun 2007 18:22:38 -0000
Local: Wed, Jun 20 2007 2:22 pm
Subject: Re: Change in date format?
It might be a good idea to start versioning the API so that these
changes can be made without breaking existing apps. For example:

http://twitter.com/statuses/user_timeline.json

would always return the old date format (when it is fixed) and changes
can be made to future versions available at URLs such as:

http://twitter.com/api/1.1/statuses/user_timeline.json

Just a suggestion, thanks for listening.

--Alex King

http://alexking.org
http://crowdfavorite.net


 
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.
DeWitt Clinton  
View profile  
 More options Jun 20 2007, 2:33 pm
From: "DeWitt Clinton" <dew...@unto.net>
Date: Wed, 20 Jun 2007 11:33:20 -0700
Local: Wed, Jun 20 2007 2:33 pm
Subject: Re: Change in date format?
+1 to versioning

I think it's safe to say that Twitter has reached critical mass with
the API now.  : )

-DeWitt

On 6/20/07, alexkingorg <alexking...@gmail.com> wrote:


 
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.
Alex Payne  
View profile  
 More options Jun 20 2007, 2:44 pm
From: "Alex Payne" <a...@al3x.net>
Date: Wed, 20 Jun 2007 11:44:08 -0700
Local: Wed, Jun 20 2007 2:44 pm
Subject: Re: Change in date format?
I'm hoping there's going to be a good opportunity for a backend
revision that will warrant a new public-facing API version.  Thanks
for the suggestions!

On 6/20/07, DeWitt Clinton <dew...@unto.net> wrote:

--
Alex Payne
http://twitter.com/al3x

 
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 »