mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-02 12:14:27 +02:00
Change default_zone from "UTC" to "Etc/UTC"
* zoned_traits<const time_zone*>::default_zone() should not depend on a Link, but on a Zone.
This commit is contained in:
@@ -292,7 +292,7 @@ struct zoned_traits<const time_zone*>
|
|||||||
const time_zone*
|
const time_zone*
|
||||||
default_zone()
|
default_zone()
|
||||||
{
|
{
|
||||||
return date::locate_zone("UTC");
|
return date::locate_zone("Etc/UTC");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAS_STRING_VIEW
|
#if HAS_STRING_VIEW
|
||||||
|
Reference in New Issue
Block a user