Skip to content

Commit c581105

Browse files
authored
Fix Date::timezoneOffset(). (#232)
1 parent 62c9027 commit c581105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/utils/Date.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class TRANTOR_EXPORT Date
7777
static int64_t timezoneOffset()
7878
{
7979
static int64_t offset =
80-
0 - Date::fromDbStringLocal("1970-01-01").secondsSinceEpoch();
80+
-Date::fromDbStringLocal("1970-01-01 00:00:00").secondsSinceEpoch();
8181
return offset;
8282
}
8383

0 commit comments

Comments
 (0)