steve8x8 / geotoad

Geocaching query tool written in Ruby
https://buymeacoffee.com/steve8x8
Other
28 stars 8 forks source link

2014-10-14 site update brought plenty of new date formats #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There are a lot of new date formats which can be set in the preferences page - 
most of which presumably are not supported by GeoToad yet.
Adding support for those formats I consider an enhancement, not a defect.

It is recommended to stick with one of the supported old ones, with yyyy-MM-dd 
being the preferred one (because there are no ambiguities, and it's the ISO 
standard).

Got to find out what's the difference between, e.g., d.MM.yyyy and d.M.yyyy 
(strip leading 0's?), and how to adjust the patterns in GeoToad. Lowest 
priority, certainly this will not go into 3.21.3!

Another word of warning: Changing your date format will cause problems because 
of GeoToad's file caching. That is, old but not too-old files will still bear 
old-style timestamps (and it'll get worse if you don't refresh caches you have 
already found). Also, the preferences will be updated only after some time (3 
hours, previously 6 hours).

Original issue reported on code.google.com by Steve8x8 on 15 Oct 2014 at 9:32

GoogleCodeExporter commented 9 years ago
Issue 308 has been merged into this issue.

Original comment by Steve8x8 on 17 Oct 2014 at 12:50

GoogleCodeExporter commented 9 years ago
Some of the date patterns had already been supported, so it took a surprisingly 
short time to merge the really new ones. Committed as SVN r1666.

I have counted 17 date representations... what exactly is ISO for, again?
Can someone please tell me where a date format "2014.12.02." (note the trailing 
dot) is officially used?

Also there's a possible caveat (besides the one that you should never ever mix 
numeric dates with month first); it's i18n related should GS ever decide to use 
language-specific abbreviations for month _names_ (as "Gen", "Avr", "Dic", and 
I'm not listing the Korean equivalents here).

In short: although GeoToad tries to suport all that stuff, better stick with 
standards. (No, I didn't get rid of "miles" as default distance unit. I 
probably should. Please open a new Issue if you want to discuss this.)

Testers welcome as I feel somewhat unable to walk through 17 different date 
settings. (Remember to use a temporary file cache, $GEO_DIR is your friend, and 
purge that afterwards. You don't want to have that mess in your daily routine.)

Original comment by Steve8x8 on 2 Dec 2014 at 11:40

GoogleCodeExporter commented 9 years ago
This issue had been addressed by 3.22.1, and there has been no feedback since.
Believing the issue has been fixed: closing

Original comment by Steve8x8 on 20 Jan 2015 at 8:18