mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 16:41:04 +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&
|
||||
operator<<(std::ostream& os, const TZ_DB& db)
|
||||
{
|
||||
os << "Version: " << db.version << '\n';
|
||||
std::string title("--------------------------------------------"
|
||||
"--------------------------------------------\n"
|
||||
"Name ""Start Y ""End Y "
|
||||
|
Loading…
x
Reference in New Issue
Block a user