Print out time zone database version

This commit is contained in:
Howard Hinnant 2016-02-19 18:48:23 -05:00
parent 5acaffc2b3
commit f1d2e869d7

1
tz.cpp
View File

@ -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 "