fox
July 12, 2023, 7:13am
1
The creation date of the *.xml file is saved in the file between the <date> </date>
tags. I came across inconsistencies between KiCad 6.x and 7.x *.xml files:
<date>28/03/2023 14:09:28</date>
<tool>Eeschema (6.0.4)</tool>
<date>7/11/2023 2:11:42 PM</date>
<tool>Eeschema 7.0.2</tool>
As shown above, my 6.x installation uses the format DD/MM/YYYY 24:00:00 while my 7.x uses M/D/YYYY 12:00:00 AM .
Is there a way for me to influence which format is used by KiCad or is this hard-coded somewhere?
Mine’s different even for 6.0.4. Don’t have any v7 XML netlist files to hand.
<date>Sun 27 Mar 2022 14:45:06</date>
<tool>Eeschema 6.0.4</tool>
marekr
July 12, 2023, 1:16pm
3
I think the problem is we aren’t formatting the date in any particular format and it’s defaulting to %c of strftime.
Ideally we would use ISO8601 but instead it’s user OS and user locale dependent.
1 Like
fox
July 13, 2023, 6:29am
4
1 Like
system
Closed
October 11, 2023, 6:30am
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.