I don't know of any specific Time picker editor for Umbraco v8 (or even v7).
A while back I thought I had a need for a Time picker, but it turned out that I really needed a Duration picker (where I could enter hours/minutes/seconds) - which I ended up using a Number field to enter the total seconds. I digress.
There isn't one directly available.. however with a small amount of code it is possible to create your own. The Date Picker in Umbraco has the ability to be a time only picker but there is no GUI for setting that up so you need to create your own.
Essentially you will be copying the core DatePicker and tweaking some settings. I don't have the code to hand unfortunately but I'll see if I can dig it out later.
TimePicker Property Editor
Hi,
I need A TimePicker Property Editor For Umbraco V8, Is There Any Tutorial or package to provide A Time Picker?
Thanks In Advance.
Hi ٌ, (interesting char for your name)
I don't know of any specific Time picker editor for Umbraco v8 (or even v7).
A while back I thought I had a need for a Time picker, but it turned out that I really needed a Duration picker (where I could enter hours/minutes/seconds) - which I ended up using a Number field to enter the total seconds. I digress.
A quick google search found this tweet (from 2015):
https://twitter.com/j_breuer/status/656111856059179010
I'm not sure if Bjarne ever shared the code for this time/clock picker screenshot?
Cheers,
- Lee
There isn't one directly available.. however with a small amount of code it is possible to create your own. The Date Picker in Umbraco has the ability to be a time only picker but there is no GUI for setting that up so you need to create your own.
Essentially you will be copying the core DatePicker and tweaking some settings. I don't have the code to hand unfortunately but I'll see if I can dig it out later.
Nik
For anyone interested in a Duration property editor... check out this discussion on the Contentment package: https://github.com/leekelleher/umbraco-contentment/discussions/114
is working on a reply...