kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32022
Re: Python: time_t needs mapping; tentative patch
>>> IIRC the timestamp is just an unique ID of the item in Kicad, right?
>>> It's never propagated to the system time, so 64-bits IMHO 64-bits should
>>> be safe everywhere.
>>>
>>> Tom
>>
>> Yes it is a unique ID only.
>> It is converted to a date in footprint editor (legacy mode) to show the last edition date to the user.
>> This is easy to convert a uint64_t to show this message.
>
> I suppose the most elegant solution would be to change time_t in KiCad
> source code to uint64_t. This leaves no ambiguity and should be easy to
> handle with swig.
This sounds good to me, in particular as it reflects more the use of
what this is (a unique ID instead of a timestamp).
-h
Follow ups
References