mirror of
https://github.com/HowardHinnant/date.git
synced 2026-08-03 20:14:08 +02:00
+1
-1
@@ -3262,7 +3262,7 @@ remote_version()
|
|||||||
std::string str;
|
std::string str;
|
||||||
if (download_to_string("https://www.iana.org/time-zones", str))
|
if (download_to_string("https://www.iana.org/time-zones", str))
|
||||||
{
|
{
|
||||||
CONSTDATA char db[] = "/time-zones/releases/tzdata";
|
CONSTDATA char db[] = "/time-zones/releases/";
|
||||||
CONSTDATA auto db_size = sizeof(db) - 1;
|
CONSTDATA auto db_size = sizeof(db) - 1;
|
||||||
auto p = str.find(db, 0, db_size);
|
auto p = str.find(db, 0, db_size);
|
||||||
const int ver_str_len = 5;
|
const int ver_str_len = 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user