emuikernel / wittytwitter

Automatically exported from code.google.com/p/wittytwitter
1 stars 0 forks source link

L10N : Does not work with non US datetime formats #68

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change the country of your Windows installation to something that uses 
a non-US date format.  (eg: Germany, UK etc)
2. Sign in.  Notice that there are no tweets.

The offending code is around line 890 of TwitterNet.cs

if (timeline == Timeline.Friends)
{
 // Twitter caches the timeline, so it doesn't always get the latest tweets
 // adding a since param will bypass twitter cache.
 timelineUrl = timelineUrl + "?since=" + DateTime.Now;
}

The last line in the above block should read
timelineUrl = timelineUrl + "?since=" + DateTime.Now.ToString
(twitterSinceDateFormat);

This results in the same non error bug from Witty - nothing is returned on 
first loading the client as it looks for tweets retuened after NOW.  I 
have no idea why, or specifically what twitter does that causes this code 
to be necessary, but removing it seems to return correct tweets within a 
minute of their being sent.

Original issue reported on code.google.com by ukdav...@gmail.com on 7 Jan 2008 at 10:36

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?
Vista, 0.1.6

Original comment by ukdav...@gmail.com on 7 Jan 2008 at 10:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed and checked in.

Original comment by ukdav...@gmail.com on 9 Jan 2008 at 8:44