Copied to clipboard

Flag this post as spam?

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


  • Vincent Baaij 95 posts 344 karma points c-trib
    May 22, 2013 @ 12:59
    Vincent Baaij
    0

    Date problem in 6.0.5

    Hi,

     

    In my source filt I have the following element:

    <ObjectCreateDate>2011-02-10T10:07:00</ObjectCreateDate>

    In my import steps I've setup the createDate as follws:

    createDate =ObjectCreateDate with format yyyy-MM-ddTHH:mm:ss

    The createDate is still being set to now.

    Also tried the format without the 'T'. Didn't work either.

    I really need to import the original date. How to fix?

  • Richard Soeteman 4035 posts 12842 karma points MVP
    May 22, 2013 @ 13:02
    Richard Soeteman
    100

    Hi Vincent,

    Yes sorry. I have seen it myself also. The underlying API of Umbraco V6 doesn't allow to set the create date anymore. It always falls back to now. I will remove this option in a future release. Waht you can do is create a separate property and use that in the site to display the create date.

    Cheers,

    Richard

  • Vincent Baaij 95 posts 344 karma points c-trib
    May 22, 2013 @ 13:16
    Vincent Baaij
    0

    Richard,

    Thanks for the swift reply. That's exactly what I just tought up. 

    Stupid I didn't think about checking the V6 API.

     

  • Richard Soeteman 4035 posts 12842 karma points MVP
    May 22, 2013 @ 13:22
    Richard Soeteman
    0

    Hi Vincent,

    Yeah I always want to avoid using the database directly instead of the API.

    Thanks,

    Richard

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Aug 21, 2013 @ 14:02
    Richard Soeteman
    0

    Hi Vincent,

    Sorry for the delay on this but I've just released version 2.4 of CMSImport which ignores the create date in Umbraco V6

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft