Support Board
Date/Time: Sun, 02 Nov 2025 19:20:15 +0000
Post From: GetChartTimeZone() string
| [2022-07-07 03:10:41] |
| User660727 - Posts: 50 |
|
Currently, GetChartTimeZone() returns a non-standard time zone string. For example, when the user selects "Chicago (-6 CST/-5 CDT)", it returns "CST-06CDT+01,M3.2.0/02:00,M11.1.0/02:00" I'm struggling to convert this to a useful value that I can use with std::chrono. Is there a way to get something I could convert to a std::chrono::time_zone name? Any of these would work: - a TimeZonesEnum enum value - or the time zone the user selected ("Chicago") - or a std::chrono::time_zone name ("America/Chicago")? |
