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

Set minutes in datetime issue - Version 2.0.9 #23

Open
icableo opened this issue Jan 3, 2018 · 5 comments
Open

Set minutes in datetime issue - Version 2.0.9 #23

icableo opened this issue Jan 3, 2018 · 5 comments

Comments

@icableo
Copy link

icableo commented Jan 3, 2018

Hi!

I opened datetime anypicker, with minutes round between 0 and 30.

1

If I not click in minutes and click "Guardar" directly, the minutes not show correctly. Input show 31 minutes and not show 0.

2

Code is:
$("#ip-deInicio").AnyPicker({ mode: "datetime", showComponentLabel: true, dateTimeFormat: "HH:mm", intervals: { h: 1, m: 30 }, layout: "popup", roundOff: true, i18n: { headerTitle: "Seleccionar", setButton: "Guardar", cancelButton: "Salir", componentLabels: { hours: "Hora", minutes: "Minutos" } } });

Any tips? Thanks

@abedputra
Copy link

Have you solved the problem?

@icableo
Copy link
Author

icableo commented Mar 1, 2019

no :(

@abedputra
Copy link

abedputra commented Mar 1, 2019

thanks for your info...

@abedputra
Copy link

I have solved this problem
please check anypicker.js
please check this image

screen shot 2019-03-02 at 09 27 34

You can modify this point dInput.getMinutes()

Thanks

@icableo
Copy link
Author

icableo commented Mar 3, 2019

Thanks friend!!

Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants