Skip to content

Conversation

ognevushka
Copy link

@ognevushka ognevushka commented Jul 12, 2025

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@@ -94,7 +94,7 @@ function formatDateUTC(x: Date): string;
function formatDateUTC(date: Date | null): string | null {
if (date instanceof Date) {
return (
date.getUTCFullYear() +
date.getUTCFullYear().toString().padStart(4, "0") +
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with the lines below

Suggested change
date.getUTCFullYear().toString().padStart(4, "0") +
padZeros(date.getUTCFullYear(), 4) +

@chendaniely
Copy link
Member

hi @ognevushka! great meeting you at the scipy sprints a few weeks ago. can you add me as a collaborator to your fork? i can work on getting the fixes done on our end so when we squash merge this PR you still get the credit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui.input_date() doesn't support years <1000 and >9999
4 participants