Skip to content

Commit a9dc497

Browse files
Fixes bug with Trantor::Date timeZoneOffset calculation (additional change) (#280)
1 parent 85a2a21 commit a9dc497

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
@@ -78,7 +78,7 @@ class TRANTOR_EXPORT Date
7878
{
7979
static int64_t offset = -(
8080
Date::fromDbStringLocal("1970-01-03 00:00:00").secondsSinceEpoch() -
81-
2LL * 3600LL * 24LL * MICRO_SECONDS_PRE_SEC);
81+
2LL * 3600LL * 24LL);
8282
return offset;
8383
}
8484

0 commit comments

Comments
 (0)