Skip to content

function to convert timestamp to locale time string #347

@janvda

Description

@janvda

The function $fromMillis() can be used to convert a time to a string but it doesn't take the locale settings into account. (I know that it is possible to specify a timezone as parameter but due to daylight saving time you will need to adapt this timezone twice a year).

It would be interesting to have functions that converts a time/date to a locale time/date string like the javascript Date methods:

  1. toLocaleDateString()
  2. toLocaleTimeString()
  3. toLocaleString()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions