[PATCH 1/3] Support American date format on manual CSV import

Tim Wootton tim at tee-jay.demon.co.uk
Mon Nov 24 23:59:34 PST 2014


On 25/11/14 05:31, Thiago Macieira wrote:
> On Tuesday 25 November 2014 06:26:06 Miika Turkia wrote:
>> On Tue, Nov 25, 2014 at 1:08 AM, Davide DB <dbdavide at gmail.com> wrote:
>>> If I correctly understand the problem here is that the CSV file could have
>>> a different locale respect the Subsurface hosting computer.
>>
>> The date format might be from a spreadsheet, based on locale, but as well
>> it could be the format the user has chosen himself. I don't think that
>> locale can be used to reliably guess the date format so I fear that I have
>> to follow Dirk's suggestion on this one and add a checkbox on the GUI to
>> decide on whether it is day or month first.
or mandate the user convert any dates to ISO 8601 prior to import, 
that's not ambiguous, and regardless of TZ or preference, people seem to 
recognise and understand it.
>
> Make it a date format. It's entirely possible to have yy/mm/dd too, so
> 12/11/10 may not be in 2010.


>



More information about the subsurface mailing list