mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 07:24:20 +01:00
avoid weird conversion from string -> time_t -> string remove magic inline macros converting string value to time_t. instead, just pick specific string regions and explicitly constexpr'ify conversion (ref. https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html) ntp could lose the value, since we never use it properly (although, ctime functions do; it is rather tricky with timezones, though) nofuss could use any value, might as well use the string that is already provided by the compiler that has the same property as the used timestamp