I suspect the format should be either 2010-21-01 from looking at the csv example in the weewx documentation - or - 21-01-2010. I'd wait for an expert to reply though!!
On Friday, 27 January 2017 13:49:50 UTC+2, Thomas Olausson wrote: > > Hi, > > I'm trying to import old archve data from Cumulus and it seems like the > date and time format in the archive is a problem. > One monthly archive file and cumulus.conf file are appended. > I would like to know which datetime formats that wee_import can handle so > that I, if possible, can edit the time and date in the archives t suit > wee_import. > Below is copy of console output. > > Best regards > Thomas Olausson > > pi@raspi3:~ $ wee_import --import-config=/var/tmp/cumulus.conf --dry-run > Starting wee_import... > Cumulus monthly log files in the '/home/pi/Downloads/cumulus' directory > will be imported > Using database binding 'wx_binding', which is bound to database 'weewx.sdb' > Destination table 'archive' unit system is '0x01' (US). > Missing derived observations will be calculated. > This is a dry run, imported data will not be saved to archive. > **** Invalid 'datetime' field. Cannot convert '21-01-10 00:20' to > timestamp. > **** Nothing done, exiting. > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
