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

Thiago Macieira thiago at macieira.org
Mon Nov 24 21:31:28 PST 2014


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.

Make it a date format. It's entirely possible to have yy/mm/dd too, so 
12/11/10 may not be in 2010.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the subsurface mailing list