Wiki - Date/Time Format explanation in wiki

Discussion in 'Website/Forum/Wiki Feedback' started by doskabouter, April 14, 2013.

  1. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,826
    Likes Received:
    790
    Location:
    Nuenen
    Ratings:
    +1,158 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Hi,



    As there is some issue in .net 3.0 regarding the short time format settings, I would suggest an addendum to the wiki at http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/15_Customization/03_Date//Time_Format.

    Something along the lines of (at the "Use long time format" section):
    Don't know if this needs to be described in less technical terms, but that all I can think of right now
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Dadeo
    • Premium Supporter

    Dadeo Docs Group Manager

    Joined:
    November 26, 2006
    Messages:
    5,340
    Likes Received:
    2,802
    Location:
    Himalayas, India
    Ratings:
    +3,053 / 0
    Home Country:
    Canada Canada
    Show System Specs
    @doskabouter - sorry just saw your post - but I am a bit confused - where is 'Customize this format..."? AFAIK you cannot customize either the short or long time format in MP - in both cases it has always used the format specified in Windows Regional and Language options. That in itself is worth adding a note to that wik page imo. But I just wanted to clarify the point first ;).
     
  4. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,826
    Likes Received:
    790
    Location:
    Nuenen
    Ratings:
    +1,158 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    The customization is done in windows configuration. But whatever you choose there, it's ignored by .NET, and thus by mediaportal...
     
  5. Dadeo
    • Premium Supporter

    Dadeo Docs Group Manager

    Joined:
    November 26, 2006
    Messages:
    5,340
    Likes Received:
    2,802
    Location:
    Himalayas, India
    Ratings:
    +3,053 / 0
    Home Country:
    Canada Canada
    Show System Specs
    Ah gothca - thanks. I'm on Win7 64 bit English and I get this screen:
    Capture.JPG
    So I gather MP will override the windows settings with those you select in the Home Plugin for Date Time formats. But since it only allows you to select 'use long time' that is based on the Windows Settings which will be ignored. So it just uses the default long time setting Right?

    EDIT: I just tested and I was able to change the long time in Win7 with .net 3.5
     
    Last edited: May 7, 2013
  6. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,826
    Likes Received:
    790
    Location:
    Nuenen
    Ratings:
    +1,158 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Here, it still doesn't quite work as expected:

    When I check "Use long time format" the clock shows 8:49:29 PM, and dhe tv-guide shows 20:00, 21:00, etc.
    When I uncheck it, clock shows 20:50, tv guide also 20:00 etc

    This with the following settings for windows time:
    Short time hh:mm tt (08:51 PM)
    Long time h:mm:ss tt (8:51:01 PM)

    So only when using the long time, windows settings are respected
     
  7. Dadeo
    • Premium Supporter

    Dadeo Docs Group Manager

    Joined:
    November 26, 2006
    Messages:
    5,340
    Likes Received:
    2,802
    Location:
    Himalayas, India
    Ratings:
    +3,053 / 0
    Home Country:
    Canada Canada
    Show System Specs
    Ok now I am really confused :p Are you reporting a bug or an error in Wiki?
    AFAIK changing the date/time format in the Home plugin only affects home screens and if a skin displays the skin properties #date #time (usually displayed on every window in most skins) . Correct me if I am wrong but I do not think those settings have ever applied to TV Guide times?
     
  8. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,826
    Likes Received:
    790
    Location:
    Nuenen
    Ratings:
    +1,158 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Sorry about the confusion, it is quite complicated.
    In base it is a bug, but it is in .NET, so I proposed a bit of explanation for a workaround in the wiki.

    The thing is, .net (and thus mediaportal) doesn't respect the short time format customization. Instead it derives it from the current format of the regional settings in windows as described in the first post.

    So when you customize the short time format, it doesn't affect the way mediaportal displays the time, however, if you choose another format (from the first dropdown on the "Formats" tab in region and language settings (in windows), then the way mediaportal displays the time *does* change.

    Can't imagine this clearing the confusion, but I'll try anyway :)
     
  9. Dadeo
    • Premium Supporter

    Dadeo Docs Group Manager

    Joined:
    November 26, 2006
    Messages:
    5,340
    Likes Received:
    2,802
    Location:
    Himalayas, India
    Ratings:
    +3,053 / 0
    Home Country:
    Canada Canada
    Show System Specs
    I added the note, though I agree with you I am not sure how easy it is to grasp. ;) But at least it is there if someone else runs into the problem you did.

    Thanks for your patience doskabouter and taking the time to explain it so thoroughly.
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!