auchenberg / timey

A little tool to make timezones more human and easier to understand.
https://timey.in
107 stars 26 forks source link

Show minutes in a text input field #25

Closed Tenzer closed 8 years ago

Tenzer commented 8 years ago

If it is shown in a number field, Firefox will automatically remove the leading zero, and as the field is readonly anyways, it doesn't really make any difference what type it is.

Tenzer commented 8 years ago

There's a related bug report for Firefox here: https://bugzilla.mozilla.org/show_bug.cgi?id=1005603.

auchenberg commented 8 years ago

I currently reply on type=number to provide increment/decrement functionality, but that should be replaced by a global key handler instead.

Tenzer commented 8 years ago

But that's only on the hour, and not the minutes, right? The minutes input field is read only, so it's not something you can change in the browser anyways.

auchenberg commented 8 years ago

Your right. I din't notice it was the minutes :)