Copied to clipboard

Flag this post as spam?

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


  • Allan Hawkey 232 posts 303 karma points
    Sep 27, 2011 @ 13:01
    Allan Hawkey
    0

    Date folder issue - 31 March

    When adding a post dated 31 March 2011, I get an error:

    Year, Month, and Day parameters describe an un-representable DateTime.

    The post saves correctly for other dates, e.g. 31 March 2011 - so does it think that March has only 30 days??

    Thanks
    Allan

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 27, 2011 @ 13:04
    Anthony Dang
    0

    What version of ublogsy and umbraco are you using?

    Is this on creating from the dashboard or when date is changed in the node?

     

     

  • Allan Hawkey 232 posts 303 karma points
    Sep 27, 2011 @ 13:06
    Allan Hawkey
    0

    Hi Anthony

    uBlogsy 2.0 beta and umbraco 4.7

    Creating from the dashboard applies today's date, so that's ok.  But when saving the post with the corrected date, that's when the error appears.

    Thanks
    Allan

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 27, 2011 @ 13:13
    Anthony Dang
    0

    What region and language is your computer set to?

     

  • Allan Hawkey 232 posts 303 karma points
    Sep 27, 2011 @ 13:14
    Allan Hawkey
    0

    uk / English

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 27, 2011 @ 13:15
    Anthony Dang
    0

    check the datatypes for month and day format selectors

    can you tell me the values that umbraco has assigned to them

  • Allan Hawkey 232 posts 303 karma points
    Sep 27, 2011 @ 13:27
    Allan Hawkey
    0

    I'm not using those datatypes - you'll recall from this ticket that I've switched to numeric fields so that the correct values are passed for the day and month formats (in this case 32 (month) and 34 (day)).

    The datatype ranges, if I had still been using them, would have been 126-129 (month) and 120-121 (day).

    Thanks
    Allan

  • Allan Hawkey 232 posts 303 karma points
    Sep 27, 2011 @ 22:32
    Allan Hawkey
    0

    Just had the same issue again with a post for 31 August 2010.  It seems that it doesn't like 31 day months for some reason.  It saved fine when posted to the 30th instead, but obviously I need to get this fixed before clients start adding posts.

    Any thoughts on a fix?

    Thanks
    Allan

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 28, 2011 @ 00:48
    Anthony Dang
    0

    It's because this month is September which has 30 days. The ublogsy date formatting is broken in 2.0.

     

  • Allan Hawkey 232 posts 303 karma points
    Nov 19, 2011 @ 12:56
    Allan Hawkey
    1

    Looks like this is fixed in the new beta (2.0 beta 2).  Thought I'd mention it here in case anyone comes across this issue and wants a fix.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 19, 2011 @ 14:53
    Anthony Dang
    0

    Sweet!

    ps. I really need a bug tracking system... gmail tasks and notepad dont cut it anymore :/

     

     

Please Sign in or register to post replies

Write your reply to:

Draft