energyplug / geohashdroid

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

Time stamp uses phone locale #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current version of geohashdroid uses not only the local time (when you 
chose that option), but also the locale of the telephone, resulting in the 
month names being in foreign tongues. 

We should probably use an entirely numerical format for the time stamps.

Original issue reported on code.google.com by thomas.h...@gmail.com on 1 Mar 2012 at 2:43

GoogleCodeExporter commented 9 years ago
I'm not so sure.  If we use an entirely numerical format, we'd have the 
difference between EU (DD/MM/YYYY) and US (MM/DD/YYYY) formats to deal with 
(assuming we go with a four-digit year, Japan's format (YYYY/MM/DD) wouldn't be 
as confusing).  That's why I always tend towards a text format in situations 
like this.

However, that option is meant to replicate the signature text on the wiki, 
correct?  Does the wiki always use English for date names?  I could just make 
Geohash Droid use that in all cases.

Original comment by captains...@gmail.com on 1 Mar 2012 at 4:58

GoogleCodeExporter commented 9 years ago
Okay, I got it.  In 0.7.16-pre1, the phone will always use an English locale 
when formatting the date it'll submit to the wiki, making it look like a normal 
wiki signature.  Sorry it took so long, I was a bit busy lately.

0.7.16-pre1 is up for download now, along with a few other fixes.  I'll push it 
out to the Market (er... "Play", I guess) if there's no objections.  Enjoy!

Original comment by captains...@gmail.com on 1 Apr 2012 at 5:38