feat(#255): Datetime picker doesn't have seconds option #417
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.
#255
added withSeconds option to mtx-calendar and mtx-datetimepicker with default value false (to keep the old behavior for users with the update)
for MTX_DATETIME_FORMATS added:
for parse and display:
timeWithSecondsInput and datetimeWithSecondsInput
when the user turns on the withSeconds flag
the formatting will be taken from there, if the timeWithSecondsInput and datetimeWithSecondsInput formats are not filled in, the timeInput and datetimeInput formats will be taken and a warning will be displayed in the console that the formats are not filled.
The withSeconds flag is relevant only for the datetime or time type
when enabling the withSeconds flag for other types, the withSeconds flag will be automatically reset to false with a warning in the console
please accept the contribution, since the work has already been done, and I saw the message that the contribution to v15 is not accepted when I finished the work
record.2025-04-26.220513.mp4