joto left a comment (osm2pgsql-dev/osm2pgsql#2457)

There is a reason `fmt::localtime` was used and `not std::localtime`: 

> Converts given time since epoch as std::time_t value into calendar time, 
> expressed in local time. Unlike std::localtime, this function is thread-safe 
> on most platforms.
_(From the fmt docs)_

[This](https://en.cppreference.com/w/c/chrono/localtime.html) shows the mess 
that `localtime` is on various platforms in various versions. This needs to be 
figured out and tested on all platforms.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2457?email_source=notifications&email_token=AA6353V6P5WOON7WI7K5ZNT4T5WUXA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJYGI2DINBRGA2KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS2XA4S7MNXW23LFNZ2F633QMVXF6Y3MNFRWW#issuecomment-4182444104
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2457/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to