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

Jquery 3.2 with number only/numer and decimal only #366

Open
3 tasks
papyr opened this issue Apr 2, 2017 · 0 comments
Open
3 tasks

Jquery 3.2 with number only/numer and decimal only #366

papyr opened this issue Apr 2, 2017 · 0 comments

Comments

@papyr
Copy link

papyr commented Apr 2, 2017

Hi, I am using this lib to let users enter time into their weekly timelog/time card, so they can be paid. Often its not start & stop time, but just the number of hours worked, like 8.2 hours or he worked 4.5 hours.

Since my app is used in (diff countries) a few cultures, I have people entering time in decimal format as well. for e.g 2.2

now I mention this for 2 reasons

  • Does the control support decimals (would be great since many users will be able to use form diff countries)
  • What will it convert to 2.2 == 2:20 or some fraction 1/5 of the hour which would 12 mins, so 2:12 mins

I would like to enforce numeric time only input, is this the default behavior.

  • Lastly, when the data is posted from the text box on the server side, what will it look like? a time field with : or just time with float - I did not see any options to configure and my server keeps throwing an error

thanks

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

1 participant