Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to new vue2-datepicker format props #1517

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

julien-nc
Copy link
Contributor

We are getting vue2-datepicker 3.7.0 and since 3.6.3, the format prop not a string/object anymore. It's now just a string and there is a new formatter object prop.

As there is no default for this prop in vue2-datepicker, I wonder if it's better to have {} or null as default in @nc/vue

…g) and formatter (object)

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
@julien-nc julien-nc added bug Something isn't working 3. to review Waiting for reviews feature: datepicker Related to the date/time picker component labels Oct 26, 2020
Copy link
Contributor

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Nice catch!

@GretaD GretaD merged commit 4a7f486 into master Oct 26, 2020
@GretaD GretaD deleted the fix/noid/datetimepicker-format branch October 26, 2020 10:13
@ChristophWurst
Copy link
Contributor

We are getting vue2-datepicker 3.7.0 and since 3.6.3, the format prop not a string/object anymore. It's now just a string and there is a new formatter object prop.

How could we release this as a minor change? This is breaking Calendar in nextcloud/calendar#2700

Bildschirmfoto von 2021-01-11 11-44-07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: datepicker Related to the date/time picker component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants