forked from HowardHinnant/date
Print out time zone database version
This commit is contained in:
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 "
|
||||||
|
Reference in New Issue
Block a user