Skip to content

Get correct time zone from Concerto #45

Open

Description

@mikldt

In the field, at least one Concerto Player-based with scheduling problems (being off during the day) was seen to have a Time Zone of UTC, causing the schedule to be offset.

Concerto currently maintains a per-screen time_zone on the Screen model. Bandshell should fetch that setting and apply it to the local image in a persistent fashion.

Activity

  1. mikldt commented on Nov 8, 2015

    @mikldt
    MemberAuthor

    It seems like debian wants both /etc/localtime and /etc/timezone to be udpated in order for the new timezone to take hold. We'll probably want to do something like the following whenever a new value is pulled from the server:

    cp -vf /usr/share/zoneinfo/$tz /etc/localtime
    echo $tz | tee /etc/timezone

    @asquared: will it be possible to make this persistent, or should we just go ahead and reapply the config value at each boot?

  2. mikldt commented on Nov 15, 2015

    @mikldt
    MemberAuthor

    Can anyone think of a reason we need to set the system timezone? If we can think of things outside of Bandshell that need the TZ, we can set it with the above method. Otherwise the ticket can be closed.

  3. augustf commented on Nov 15, 2015

    @augustf
    Member

    It's probably better if the system doesn't just have UTC time, in case the user tries to do other useful things with the computer and finds it has a different time from the application running on it.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions