Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed #5363 -- HTML5 datetime-local valid format HTMLFormRenderer#9365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mgaligniana wants to merge1 commit intoencode:master
base:master
Choose a base branch
Loading
frommgaligniana:issue-5363

Conversation

mgaligniana
Copy link
Contributor

@mgalignianamgaligniana commentedApr 4, 2024
edited
Loading

Description

Hi!

This PR deletes the [milli|micro]seconds part of aDateTimeField input atHTMLFormRenderer to avoid break in browsers:

image

refs#5363

@mgaligniana
Copy link
ContributorAuthor

Hi@auvipy! Following your comment on#5363 (comment) I ask if you could do the review! Thank you!

@auvipyauvipy self-requested a reviewMay 27, 2024 16:08
@auvipyauvipy requested a review froma teamJune 10, 2024 07:08
# The format of an input type="datetime-local" is "yyyy-MM-ddThh:mm"
# followed by optional ":ss" or ":ss.SSS", so remove [milli|micro]seconds
# to avoid browser error.
field.value = "".join(field.value.rstrip('Z').split(".")[:1])
Copy link
Contributor

Choose a reason for hiding this comment

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

The millisecond part should be retained, as it's a valid part of the format.

auvipy reacted with thumbs up emoji
@staleStale
Copy link

stalebot commentedApr 27, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestalebot added the stale labelApr 27, 2025
Copy link
Member

@auvipyauvipy left a comment

Choose a reason for hiding this comment

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

please address the review comment

@stalestalebot removed the stale labelApr 28, 2025
@mgaligniana
Copy link
ContributorAuthor

Thanks@auvipy! I'll do it!

@mgaligniana
Copy link
ContributorAuthor

Just an update here. I'm still active! I'll do as soon as possible

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@auvipyauvipyauvipy left review comments

@peterthomassenpeterthomassenpeterthomassen requested changes

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@mgaligniana@peterthomassen@auvipy

[8]ページ先頭

©2009-2025 Movatter.jp