Skip to content

Localized date/time placeholders produce unexpected results. #45

Description

@AnrDaemon

Example code:

*nLabel Clock

Clock
{
  AlwaysOnTop True
  X 50
  Y 50
  Width 150
  Height 30

  Font
  {
    Size 14
    Color #c1c1c1
  }

  Text
  {
    - "[Time('%c')]"
    Align center
    VerticalAlign Middle
  }
}

The output is "mm/dd/yy HH:mm:ss" regardless of locale.
Just for tests, I set time to "hh:mm:ss tt" but the label still show 24-h format.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions