| 338 | } |
| 339 | |
| 340 | std::string formatTimeISO(double timestamp) { |
| 341 | // Windows doesn't support %F or %T, and %z gives the full timezone name instead of offset |
| 342 | return formatTime("%Y-%m-%d %H:%M:%S %z", timestamp); |
| 343 | } |
| 344 | |
| 345 | |
| 346 | std::string UTF32toUTF8(const std::u32string& s32) { |