17.06.2013, 17:52
(17.06.2013, 16:26)Maarten Wrote: The key thing is: windows has date and time format settings. These are independent from the language of the windows installation. Even within the localization you have more than one choise. My localization is Dutch (Netherlands), but I can still choose from 7 different date formats.
Understood.
(17.06.2013, 16:26)Maarten Wrote: I would have expected that a program takes these date and time settings and uses them. That's what other programs like spreadsheets do.
What else is the use of making a system wide date and time format if the programs you run do not use it?
I'm using Java's Locale and Format framework here to be a nice citizen on every operation system on which RouteConverter runs on. It's the recommended way in Java and it keeps me away from all date/time/number format and operating system problems. Java doesn't seem to read the Windows/Linux/Mac OS X settings but uses hardcoded strings here.
--
Christian
Christian