ddnet icon indicating copy to clipboard operation
ddnet copied to clipboard

`time_timestamp` is affected by the year 2038 problem

Open Robyt3 opened this issue 1 year ago • 0 comments

It currently returns the unix timestamp as an int, which will overflow in the year 2038:

https://github.com/ddnet/ddnet/blob/9336b4cb37fdbcaa647bc1670a42ab0e7527a1e6/src/base/system.cpp#L2616-L2619

See https://en.wikipedia.org/wiki/Year_2038_problem

Robyt3 avatar May 04 '24 14:05 Robyt3