So, if I am correct, I always have to specify `unix_epoch` as unit system for datetime field in the map, and then I have to correctly set my date format in the `raw_datetime_format` according to https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
Thanks, Andrea Il giorno sabato 16 luglio 2022 alle 05:28:10 UTC+2 gjr80 ha scritto: > The dateTime entry in a wee_import field map is a special case. Whereas > for other field map entries the mapped field is imported (and converted if > necessary) from the specified units, the dateTime source field actually > undergoes separate processing to derive the timestamp that is ultimately > used as the dateTime entry. I appreciate the explanation of the field map > in the Utilities Guide is somewhat misleading. Consequently, I have added a > clarifying note to the CSV [[FieldMap]] stanza in the Utilities Guide. > Since there are other changes to the Utilities Guide that are only > applicable to the next WeeWX release, the note I added will appear when the > next WeeWX release is published. > > Gary > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b521f2ed-42ee-42c6-8193-c239ef2ac707n%40googlegroups.com.
