refactor: replace calls to create GMT NSTimeZone instance

Fixes #3757
This commit is contained in:
Francis Lachapelle
2019-12-11 11:13:36 -05:00
parent eafbdd3884
commit 2b33d45346
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -434,7 +434,7 @@
response = [self redirectToLocation: [self _logoutRedirectURL]];
date = [NSCalendarDate calendarDate];
[date setTimeZone: [NSTimeZone timeZoneWithAbbreviation: @"GMT"]];
[date setTimeZone: [NSTimeZone timeZoneForSecondsFromGMT: 0]];
// We cleanup the memecached/database session cache. We do this before
// invoking _logoutCookieWithDate: in order to obtain its value.