Date time fields support in crud form#501
Open
mohamed-nazim wants to merge 2 commits intoyiisoft:masterfrom
Open
Date time fields support in crud form#501mohamed-nazim wants to merge 2 commits intoyiisoft:masterfrom
mohamed-nazim wants to merge 2 commits intoyiisoft:masterfrom
Conversation
Added input field of type 'date' and 'datetime' in form/search fields.
Added input field of type 'time' in form/search fields.
Contributor
|
it's same to prev PR
|
Contributor
Author
Yes @WinterSilence it's same (apart from the addition of browsers and databases tests - shall do and post asap. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated my branch name for the previous PR and it ended up closed. So resubmitting.
This PR adds support for input field of type 'date', 'datetime' & 'time' in form/search fields and is based on current browser standards for date / date time input field. MDN definition for
datesays it usesYYYY-MM-DDstandard and the definition fordatetime-localusesYYYY-MM-DDT00:00standard - which is what is sent over when the form is submitted (although what is rendered on the screen is based on local device settings/locale).