Copied to clipboard

Flag this post as spam?

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


  • Lars Fredrik Lunde 2 posts 22 karma points
    Jan 31, 2011 @ 16:44
    Lars Fredrik Lunde
    0

    Datepicker choosing DateTime.Now() by default

    Hello,

    My name is Lars and i've been searching the forums and google for some time now, and can't find the answer anywhere. Would really appriciate if someone could point me in the right direction.

    I have Umbraco 4.6.1 installed with blog4umbraco (skin by mediaworkers).

     

    Problem: Datepicker with time picks only the year, month and day by default. Not hour, minute, second.

    When i create a new blogpost current date is chosen by default. I would like it to automaticly pick current date AND time.

    Whats being saved now (if i dont pick the time manually) is <PostDate>2011-01-31T00:00:00</PostDate>


    Thanks

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 31, 2011 @ 16:46
    Jan Skovgaard
    0

    Hi Lars

    This is a bit of a long shot, but maybe you can be so lucky that all you need to do is go to the "settings" section, find the document type for blogpost and alter the property from "date picker" to date picker w. time".

    Be sure to republish the entire site (refresh the XML cache) after this change has been made.

    Does it work?

    /Jan

  • Lars Fredrik Lunde 2 posts 22 karma points
    Jan 31, 2011 @ 17:08
    Lars Fredrik Lunde
    0

    Hello, thank you for the quick reply.

     

    It did not work :(

Please Sign in or register to post replies

Write your reply to:

Draft