We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ee698 commit 263a8f1Copy full SHA for 263a8f1
src/notebooks/deepnote/converters/inputConverters.ts
@@ -33,9 +33,9 @@ function normalizeDateString(dateValue: unknown): string {
33
if (isNaN(date.getTime())) {
34
return dateValue;
35
}
36
- const year = date.getFullYear();
37
- const month = String(date.getMonth() + 1).padStart(2, '0');
38
- const day = String(date.getDate()).padStart(2, '0');
+ const year = date.getUTCFullYear();
+ const month = String(date.getUTCMonth() + 1).padStart(2, '0');
+ const day = String(date.getUTCDate()).padStart(2, '0');
39
return `${year}-${month}-${day}`;
40
} catch {
41
0 commit comments