Skip to content

Commit 9950871

Browse files
committed
fixed
1 parent bf8273e commit 9950871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightbug_http/cookie/expiration.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct Expiration:
1717
@staticmethod
1818
fn from_string(str: String) -> Optional[Self]:
1919
try:
20-
return Self.from_datetime(strptime(str, HTTP_DATE_FORMAT, TimeZone(0, "GMT")))
20+
return Self.from_datetime(strptime(str, HTTP_DATE_FORMAT, TZ_GMT))
2121
except:
2222
return None
2323

0 commit comments

Comments
 (0)