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

[Bug]: alfFormat setting being ignored #42

Open
PWMatthew opened this issue Sep 5, 2023 · 3 comments
Open

[Bug]: alfFormat setting being ignored #42

PWMatthew opened this issue Sep 5, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@PWMatthew
Copy link

What happened?

I'm having an issue where any argument passed to altFormat is ignored for whatever the dateFormat is set to.
This occurs with the default dateFormat as well.

How to reproduce the bug

This is how I've implemented it.
Flatpickr::make('start') ->enableTime() ->altFormat('m/d/Y h:i K') ->dateFormat('Z'),

Package Version

3.0.1

PHP Version

8.2.8

Laravel Version

10.18.0

Which operating systems does with happen with?

Linux

Notes

No response

@PWMatthew PWMatthew added the bug Something isn't working label Sep 5, 2023
@quasiperfect
Copy link

@PWMatthew did you by any chance solve this it happens to me too ?

@PWMatthew
Copy link
Author

@quasiperfect sorry, nothing yet.

@nathanjansen
Copy link

@PWMatthew @quasiperfect you need to also add ->altInput() for it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants