Copied to clipboard

Flag this post as spam?

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


  • Timsn 121 posts 231 karma points
    Dec 30, 2009 @ 16:29
    Timsn
    0

    FormatException DateTime

    I've just installed the Logmananger Package and clicked on the link to view my log. Click here to see a screenshot.

    Umbraco is running on verion 4.0.3 (Assembly version: 1.0.3625.27276)

    IIS 7 on Windows Server 2008 with SQL 2008

  • Immo Wache 69 posts 224 karma points
    Jan 04, 2010 @ 17:22
    Immo Wache
    0

    Hi Timsn, and thanks for your bug report.

    funny effect :-/
    Here I use same platform configuration with 4.0.3 and it works fine. Which language/country settings do you use on your server?

    Further more it could be be helpful when you can check the date format you will get when you place a date picker datatype (but not a date picker with time) on a doc type and edit this doc in content section.

    Thanks for your help, Immo

    PS. There is an other problem with date picker in umbraco 4.0.3 described here (Date-Picker-doesn't-work) with a hotfix. May it is related to your issue.

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Jan 19, 2010 @ 22:40
    Chris Houston
    0

    Hi,

    I have also just installed this package and I get the same error as Timsn on exactly the same spec ( virtual ) server.

    Cheers,

    Chris

  • Timsn 121 posts 231 karma points
    Jan 20, 2010 @ 10:58
    Timsn
    0

    The strange thing is that it works now. Oo

    When I later got back to look at the logmanager it worked. I've done nothing in particular to solve this problem it just worked after a time :/

    Try to recycle the application pool or reinstall the package. Maybe that helps.

  • Immo Wache 69 posts 224 karma points
    Jan 20, 2010 @ 16:07
    Immo Wache
    1

    Hi Timsn and Chris,

    I finally could reproduce exactly the error you described. I changed short date format of the server from TT.MM.JJJJ to MM.TT.JJJJ (german settings) which results in your error. May be you have similar arrangement e.g. with en-US on the server and en-GB for the umbraco user? Then I modified page load behaviour so that it now first of all use the culture settings (including date format) from the current umbraco user which fixes the problem here.

    Feedback if the update solves your problem too would be great - thanks for testing.
    Immo

  • Ted Jardine 98 posts 120 karma points
    Jan 22, 2010 @ 22:59
    Ted Jardine
    0

    I'm having the same issue. However, we need the server short date format to be US, and the only English option available for users in our installation is English (UK). Therefore, we're stuck. I could modify the original source, but it seems this is likely to be a common problem (and does anybody know why "English (US)" is not an option for users?).

  • Ted Jardine 98 posts 120 karma points
    Jan 22, 2010 @ 23:32
    Ted Jardine
    0

    And it seems a bit fragile to me that it would be viewed based on the user's data format instead of the server date format as I believe the server format must be the format in which it is persisted to the database.

  • Immo Wache 69 posts 224 karma points
    Jan 23, 2010 @ 13:48
    Immo Wache
    0

    Hi Ted,

    here is a post about setting en-US in umbraco back office http://our.umbraco.org/forum/using/ui-questions/6640-Date-format-in-developer-UI. Hope this solve your date format problem.

    BTW did you tried the 4.0.1 version? Did it worked for you or not?
    Thanks, Immo

  • Timsn 121 posts 231 karma points
    Jan 23, 2010 @ 13:54
    Timsn
    0

    Version 4.0.1 works fine. Thank you for the update Immo!

  • RolandWolters 42 posts 63 karma points
    Mar 24, 2010 @ 22:53
    RolandWolters
    0

    I am having problems with the datetime format too? see http://screencast.com/t/MGZlYTE3NGIt

    I do not know what the server setting is, i cannout access this server myself.

  • RolandWolters 42 posts 63 karma points
    Mar 24, 2010 @ 22:57
    RolandWolters
    0

    ah! should have read through here FIRST :) Installed the 4.0.1 version, and that works great. :)

Please Sign in or register to post replies

Write your reply to:

Draft