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
Input format not working as expected. #2435
Comments
I do it like this. |
@Anzil-Aufait there was a breaking change in alpha14 for input format it should be If you change your second example to something like this it should work. hooks: {
inputFormat: (context, date) => {
return moment(date).format('MMM, DD, YYYY')
}
} |
@Eonasdan Hi, thank you for the replay. Currently i'm using tempus-dominus@6.0.0-alpha1.0.4 veersion.
Above format is not working in this version. Is it possible you to check this link and please provide a working code to change the format to |
Why do you want to use an old alpha? Why not upgrade? That version takes an Intl format e.g. |
@Eonasdan Is it possible to share latest CDN link here? |
Of course <script src="https://cdn.jsdelivr.net/gh/Eonasdan/tempus-dominus@master/dist/js/tempus-dominus.js"></script>
<link
href="
https://cdn.jsdelivr.net/gh/Eonasdan/tempus-dominus@master/dist/css/tempus-dominus.css"
rel="stylesheet"
/> This will point to the latest code. If you prefer to be locked into a release you can exchange |
@Eonasdan Thank you for the update. Now it is working fine. But i notice a missing feature with Latest version that is |
The picker will either display on "top" or "bottom" of whatever element you attached it to. If this is not working for you please provide a screen capture or a stackblitz. |
I want to change date format to 'MMM, DD, YYYY', but i can't find a way to do that.
I'm using tempus-dominus@6.0.0-alpha1.0.4 veersion. But when I use this version tempus-dominus@master it's working fine. There is problem with Master version, that it will not change position based on the screen resize.
tempus-dominus@6.0.0-alpha1.0.4: This is the stackblitz code.
tempus-dominus@master: This is the stackblitz code.
Please check.
The text was updated successfully, but these errors were encountered: