mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-14 09:47:57 +08:00
Print out time zone database version
This commit is contained in:
parent
5acaffc2b3
commit
f1d2e869d7
1
tz.cpp
1
tz.cpp
@ -2065,6 +2065,7 @@ locate_native_zone(const std::string& native_tz_name)
|
|||||||
std::ostream&
|
std::ostream&
|
||||||
operator<<(std::ostream& os, const TZ_DB& db)
|
operator<<(std::ostream& os, const TZ_DB& db)
|
||||||
{
|
{
|
||||||
|
os << "Version: " << db.version << '\n';
|
||||||
std::string title("--------------------------------------------"
|
std::string title("--------------------------------------------"
|
||||||
"--------------------------------------------\n"
|
"--------------------------------------------\n"
|
||||||
"Name ""Start Y ""End Y "
|
"Name ""Start Y ""End Y "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user