Skip to content

[Sunstone] Time configuration #7575

@dann1

Description

@dann1

SEE THIS RELATED ISSUE #6254

Description
The sunstone-server.conf file allows changing the timezone configuration Sunstone uses. As of now, that setting does nothing. The timestamps displayed use the browser configuration.

To Reproduce

  • Set a timezone different from the one in your browser at /etc/one/fireedge/sunstone/sunstone-server.conf by changing the parameter currentTimeZone
  • Restart fireedge
  • That timezone isn't applied

Expected behavior
Sunstone should be able to set both timezone configuration and date format (24h/am-pm). To minimize configuration, there should be two behaviors

  • set time configuration from browser environment (current behavior)
  • set time configuration from OS env (where the fireedge server is running)
    • should be the new behaviour.

Details

  • Version: 7.0

Additional context
For the OS, this configuration can be applied as follows

timedatectl set-timezone UTC
localectl set-locale LC_TIME=C.UTF-8

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions