MP2 - V2.1 No explanation about usage of Date / Timeformat (1 Viewer)

Status
Not open for further replies.

pur_berger

Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    53
    Vienna
    Home Country
    Austria Austria
    Therer is no indication what options are the for date / Time format (only prfilled t bzw. D and that it needs to be a date-Time class)

    upload_2017-1-6_22-48-43.png
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    I agree, that's a bit of technical. But you actually don't Need to change anything here to get your date/time displayed as per your local Windows settings
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    53
    Vienna
    Home Country
    Austria Austria
    So wouldn't it be better if you want it to be usable from non techical guys put a proper explanation therer or leave it or hide it in an "Advances Setup" section.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    I remember that I struggled with the German translation (the English text was given) because I didn't know what is possible here.

    I now looked up the details. The time/date function is very powerful and allows free definition of almost any format in which a user would like to display his date and time. There are standard formats like

    d (when used without further context) = short date format: 07.01.2017 (displayed in your local format)
    D (without further context) = long format: Saturday, 07.01.2017
    ... and a lot more

    But also user-definable formats that consist of using different format descriptors in combination with any separator you like - e.g. a name

    Some examples:

    d = 1-31
    dd=01-31
    ddd=Mo, Di, etc
    dddd=Monday, Tuesday, etc

    f = tenth of a second
    K = time zone

    "My time" h:m t = My time 14:30

    The list is really long. If you have a proposal for the explanatory text (German will do), I will gladly consider it. We'll also add something to the Wiki.
     
    Last edited:

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    53
    Vienna
    Home Country
    Austria Austria
    I would stick to the basic. Not all what is possible will make sense. Maybe even a dropdown Menue would make sense with the basic settings

    "d" - Short date [6/15/2009; 15/06/2009]

    "D" - Long date [Monday, June 15; Montag, 15. Juni 2009]

    "f" - Full date/time (short time) [Monday, June 15, 2009 1:45 PM; Montag, 15 Juni 2009 13:45]

    "F" - Full date/time (long time) [Monday, June 15, 2009 1:45:30 PM; Montag 15 Juni 2009 13:45:30]
     

    Brownard

    Development Group
  • Team MediaPortal
  • March 21, 2007
    2,301
    1,886
    Home Country
    United Kingdom United Kingdom
    We could offer a list of the common formats with human readable descriptions and additionally still offer an advanced manual input to allow full customisation.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    Maybe even a dropdown Menue would make sense with the basic settings
    No, we won't do that. There is no real requirement for that. d/D and t/T respectively are the only options that make sense here. Note that we have separate definitions of time and date, hence using f/F in any of them is either redundant or may provide funny results (untested).

    I will rework the menu text for German.

    @morpheus_xx , can you please give me access to the English original strings in Transiflex so that I can also adjust that?
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    OK, here is what I have entered into Transiflex for German:

    Datum-Format, das vom Skin verwendet wird.

    d = Kurzformat -- 07.01.2017
    D = Langformat -- Samstag, 07.01.2017

    Zeit-Format, das vom Skin verwendet wird.

    t = Kurzformat -- 11:15
    T = Langformat -- 11:45:37

    If you agree please copy the German format to set the English texts in the plugin sources

    I wouldn't make any reference to the general possibility of using .NET format strings on this screen. Eventually I will write a Wiki entry about this.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Similar threads

    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Hi there I've recently tried to get the Bootstrap 0.7.255 skins working in a new WebMediaPortal environment but ran into several...
    Replies
    6
    Views
    2K
    So, you're power cycling the TV, but not putting the PC to sleep ? In General => Startup/Resume settings, try checking "Ignore Windows resolution/size changes" In Codecs and Render, try selecting the specific audio device rather than "Default DirectSound device" Just ideas, no guarantee this will do anything. If this doesn't work, I...
    So, you're power cycling the TV, but not putting the PC to sleep ? In General => Startup/Resume settings, try checking "Ignore...
    I'm running MP1 as a client only on this: https://www.amazon.com/dp/B0DZX5DWS5?ref_=pe_123509780_1038749300_t_fed_asin_title&th=1...
    Replies
    4
    Views
    651
    MP1 MP2 MP2 - V2.3 EPG has stopped DE
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes possible to use MP clients from a release that is different to the MP server, but whether it works depends on the specific changes that were made between the two releases. -- from CyberSimian in the UK
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    10
    Views
    4K
    This solves the problem. Thank you. I completely overlooked that.
    This solves the problem. Thank you. I completely overlooked that.
    I'm trying to register Mediaportal as new application in trakt. When I'm ordering a new user code the window shown only "USERCODE"...
    Replies
    2
    Views
    1K
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
    Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
    Replies
    13
    Views
    2K
    Top Bottom