Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • denisedelbando 141 posts 339 karma points
    Apr 04, 2016 @ 15:15
    denisedelbando
    0

    Umbraco 7 TimePicker datatype

    Reused umbraco datepicker to create a timepicker. Also, this is bare minimum meaning no required field validation or error message. I just wanted it to work

    https://github.com/avatart0ph/umbracoupgrade6to7/tree/master/customizations/DataType%20-%20TimePicker/App_Plugins/TimePicker

  • denisedelbando 141 posts 339 karma points
    Apr 04, 2016 @ 15:18
    denisedelbando
    0

    Sample working. This is used for our date range picker.

    Example output could be: April 04, 2016 09:30 AM - 09:45 AM April 05, 2016 01:30 PM - 02:30 PM

  • Bjarne Fyrstenborg 1280 posts 3990 karma points MVP 7x c-trib
    Apr 04, 2016 @ 15:24
    Bjarne Fyrstenborg
    101

    I have actually submitted a PR a while ago that extend datepicker with further options and basen on the format choose date, time or date and time picker. http://issues.umbraco.org/issueMobile/U4-7301

    It need to be reviewed by HQ.

    /Bjarne

  • denisedelbando 141 posts 339 karma points
    Apr 04, 2016 @ 19:29
    denisedelbando
    0

    thanks. in the meantime, i have to use my solution. we havent updated our umbraco because updating the files caused a crash in prod but not in dev.

  • Heather Floyd 604 posts 1002 karma points MVP 5x c-trib
    Sep 11, 2018 @ 15:12
    Heather Floyd
    0

    Hi denisedelbando!

    I actually have a need for just what you created, and copied it into my project. Generally, it works great, but sometimes I've noticed that it doesn't save the selected data in one of the time fields (I have two on my doctype) on "Save & Publish".

    Have you come across that issue?

  • suman 30 posts 101 karma points
    Dec 07, 2018 @ 13:30
    suman
    0

    Hi Heather Floyd,

    Even I am facing the same issue. Sometimes it doesn't save the selected data in one of the time fields.

    Do you have any idea that, how to compare start time and end time on Save & Publish (Without using content service events)?

    Thank You.

  • Heather Floyd 604 posts 1002 karma points MVP 5x c-trib
    Dec 10, 2018 @ 17:58
    Heather Floyd
    0

    Sorry, Suman, I haven't been able to troubleshoot this.

  • David Sheiles 67 posts 337 karma points
    Apr 23, 2019 @ 02:31
    David Sheiles
    0

    It seems not to work when you toggle the popup with the time icon. If you click directly into the time box it saves every time. My quick fix was to remove the time icon from the HTML

Please Sign in or register to post replies

Write your reply to:

Draft