Remove deprecated fmt/time.h

This commit is contained in:
Victor Zverovich
2019-06-23 06:13:17 -07:00
parent 572b077dbf
commit b97e5d8c2a
3 changed files with 4 additions and 21 deletions
+3 -1
View File
@@ -480,7 +480,9 @@ struct chrono_formatter {
std::chrono::duration<rep, Period>(val));
}
Rep hour() const { return mod((s.count() / 3600), 24); }
Rep hour() const {
return static_cast<Rep>(mod((s.count() / 3600), 24));
}
Rep hour12() const {
Rep hour = mod((s.count() / 3600), 12);