Topic
  • 12 replies
  • Latest Post - ‏2014-03-07T17:26:32Z by BalagganChetan
Mujdat Mutlu - BBS
Mujdat Mutlu - BBS
2 Posts

Pinned topic ICN Date Time picker format

‏2013-06-05T15:18:18Z |

Hi All

When I add a document, that belongs to a doc class with datetiem field, it sets time as 00:00.

Is there a way not to use time part, or a fix or configuration that not use 00:00 as time.

you can find the attached image.

BTW explorer language is Turkish

Regards

Mujdat

 

 

 

Attachments

  • damorris
    damorris
    786 Posts

    Re: ICN Date Time picker format

    ‏2013-06-05T17:16:02Z  

    You should be able to override the datepicker widget and change the setting to not show the time

  • Mujdat Mutlu - BBS
    Mujdat Mutlu - BBS
    2 Posts

    Re: ICN Date Time picker format

    ‏2013-06-05T19:28:15Z  
    • damorris
    • ‏2013-06-05T17:16:02Z

    You should be able to override the datepicker widget and change the setting to not show the time

    How can I do this? Where is the datetimepicker widget?

  • Udhayan
    Udhayan
    29 Posts

    Re: ICN Date Time picker format

    ‏2013-08-27T12:23:42Z  

    How can I do this? Where is the datetimepicker widget?

    Hi,

    Have you got any solution for this issue? If so can you help me out. I also got struck up with the same issue here.

  • gaiVDasari
    gaiVDasari
    8 Posts

    Re: ICN Date Time picker format

    ‏2013-08-27T18:08:37Z  

    You can also set the format through the EDS plugin.

  • Udhayan
    Udhayan
    29 Posts

    Re: ICN Date Time picker format

    ‏2013-08-28T06:54:56Z  

    You can also set the format through the EDS plugin.

    Hi Dasari,

    Can you please help me how to achieve this through EDS?

    Updated on 2013-08-28T08:07:21Z at 2013-08-28T08:07:21Z by Udhayan
  • TiloMaster
    TiloMaster
    21 Posts

    Re: ICN Date Time picker format

    ‏2014-01-09T17:22:28Z  
    • Udhayan
    • ‏2013-08-27T12:23:42Z

    Hi,

    Have you got any solution for this issue? If so can you help me out. I also got struck up with the same issue here.

    Any news on this?

    Can ICN set to only display Date and no time?

    Can we set the default time for this? (like noon rather than midnight to get best result for cross timezone use of the date>

  • arronla
    arronla
    92 Posts

    Re: ICN Date Time picker format

    ‏2014-01-10T06:04:24Z  

    Look at ecm.model.ValueFormatter.  This class is used to format all values in ICN including dates.  Create a custom extended ValueFormatter and override either "formatValue" or "getDefaultFormat" for the type "xs:time" or "xs:date" and fallback into the defaults for the other types.  Set that custom ValueFormatter onto the desktop.  Your new formatted time/date will appear correctly for the picker.

  • Konanki
    Konanki
    6 Posts

    Re: ICN Date Time picker format

    ‏2014-01-29T20:42:32Z  

    Hi,

    for the above requirement., can we edit the datepicker.js ?

     

  • damorris
    damorris
    786 Posts

    Re: ICN Date Time picker format

    ‏2014-01-30T03:06:17Z  
    • Konanki
    • ‏2014-01-29T20:42:32Z

    Hi,

    for the above requirement., can we edit the datepicker.js ?

     

    Create a plugin and follow Arron's suggestion above.

  • Konanki
    Konanki
    6 Posts

    Re: ICN Date Time picker format

    ‏2014-01-30T12:15:40Z  
    • damorris
    • ‏2014-01-30T03:06:17Z

    Create a plugin and follow Arron's suggestion above.

    Hi Damorris,

    As per your suggestion, we have taken Arrons approach and validated, its working fine.

    Thankq very much.

     

    Updated on 2014-01-30T12:16:07Z at 2014-01-30T12:16:07Z by Konanki
  • arronla
    arronla
    92 Posts

    Re: ICN Date Time picker format

    ‏2014-02-04T06:49:13Z  

    Any news on this?

    Can ICN set to only display Date and no time?

    Can we set the default time for this? (like noon rather than midnight to get best result for cross timezone use of the date>

    Follow my suggestion a few posts below.  It should work.

  • BalagganChetan
    BalagganChetan
    1 Post

    Re: ICN Date Time picker format

    ‏2014-03-07T17:26:32Z  
    • Konanki
    • ‏2014-01-30T12:15:40Z

    Hi Damorris,

    As per your suggestion, we have taken Arrons approach and validated, its working fine.

    Thankq very much.

     

    Hi Konaki,

    We are also looking to implement same kind of approach of not showing the time and not the date. We tried to create a plugin using the approach mentioned above, but couldn't achieve it. Can you please let us know how you implemented this (if possible share the plugin code) so that we can check what is wrong with the plugin we have created? Thanks