parent
6d54928d7c
commit
d27e534a85
|
@ -58,6 +58,8 @@ FormatISO8601(std::chrono::system_clock::time_point tp)
|
||||||
return FormatISO8601(GmTime(tp));
|
return FormatISO8601(GmTime(tp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
|
|
||||||
static std::pair<unsigned, unsigned>
|
static std::pair<unsigned, unsigned>
|
||||||
ParseTimeZoneOffsetRaw(const char *&s)
|
ParseTimeZoneOffsetRaw(const char *&s)
|
||||||
{
|
{
|
||||||
|
@ -167,6 +169,8 @@ ParseTimeOfDay(const char *s, struct tm &tm,
|
||||||
return end;
|
return end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
std::pair<std::chrono::system_clock::time_point,
|
std::pair<std::chrono::system_clock::time_point,
|
||||||
std::chrono::system_clock::duration>
|
std::chrono::system_clock::duration>
|
||||||
ParseISO8601(const char *s)
|
ParseISO8601(const char *s)
|
||||||
|
|
Loading…
Reference in New Issue