Skip to content

Commit 6897c89

Browse files
committed
fix iso datetime
1 parent 13a7475 commit 6897c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dashboard/src/user-settings/PersonalAccessTokens.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const expirationOptions = [7, 30, 60, 180].map((d) => ({
5454
}));
5555

5656
// Max value of timestamp(6) in mysql is 2038-01-19 03:14:17
57-
const NoExpiresDate = dayjs("2038-01-01T00:00:00+0:00").toDate();
57+
const NoExpiresDate = dayjs("2038-01-01T00:00:00+00:00").toDate();
5858
export function getTokenExpirationDays(showForever: boolean) {
5959
if (!showForever) {
6060
return expirationOptions;

0 commit comments

Comments
 (0)