Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 84f5e33

Browse files
author
jboesch
committed
added ability for it to detect time in the value attribute and set it properly... (03:00:00 converts to 3am)
1 parent cacceac commit 84f5e33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ $('#from-24hr').timeAutocomplete({
2828
value: '07:00:00'
2929
});
3030
```
31+
or
3132
```
32-
$('#to-24hr').timeAutocomplete({
33-
formatter: '24hr',
34-
value: '09:30:00'
33+
$('#to-24hr').val('09:30:00').timeAutocomplete({
34+
formatter: '24hr'
3535
});
3636
```
3737

0 commit comments

Comments
 (0)