What's in your configuration? (I need your help) #2353
Replies: 5 comments 3 replies
-
I use v4 with two different configurations:
And
|
Beta Was this translation helpful? Give feedback.
-
Using v5.39 {
sideBySide: true,
defaultDate: this.defaultDate,
minDate: moment().subtract(5, 'm'),
widgetPositioning: {vertical: 'bottom'},
format: this.format,
keepInvalid: true,
useStrict: true
} |
Beta Was this translation helpful? Give feedback.
-
Tempus Dominus Bootstrap4 v5.39.0
|
Beta Was this translation helpful? Give feedback.
-
I use two versions v4.17.47 and v5.1.2 and the general configurations are:
And then I have a different script with general, more common to use methods, which init the picker and its parameters, something like:
So in case there's some braking changes, I don't to change lots of files, just one.
But could we, override some of those translations, as we are doing now? Because in Spanish the way to say things it's different, kinda what would be color and colour on English |
Beta Was this translation helpful? Give feedback.
-
Hi everyone! I created a migration tool for the configuration settings. I tested all the ones that have been posted here. I also released v6.0.0-alpha1.0.4 |
Beta Was this translation helpful? Give feedback.
-
Version 6 is coming along and because I'm making breaking changes I'm considering making a migration tool much like Angular's upgrade site. With this tool, I'm imagining that a developer will copy and paste their current configuration and will get a v6 config object back. This could be extended to convert constructor code like
$('#datetimepicker6').datetimepicker([config]);
tonew tempusdominus.TempusDominus(document.getElementById('datetimepicker6'), [config]
(the exact convention is still in the works).For example:
Beyond a conversion tool, your configurations will help me test v6 in the way that you are using it.
Please feel free to share your configs here. ProTip; you can use
```
to wrap code blocks or click on the<>
in the toolbar to paste code.PLEASE MAKE SURE TO INCLUDE THE VERSION YOU'RE USING!
Beta Was this translation helpful? Give feedback.
All reactions