Skip to content

Localized date/time placeholders produce unexpected results. #45

@AnrDaemon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions