Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule timezone config, API tweak, add tests for schedule #536

Open
peterkos opened this issue Jan 23, 2021 · 3 comments
Open

Schedule timezone config, API tweak, add tests for schedule #536

peterkos opened this issue Jan 23, 2021 · 3 comments

Comments

@peterkos
Copy link
Contributor

peterkos commented Jan 23, 2021

There should be a config option for setting the timezone that the entire HM interface is referenced from.

Additionally, the API should return something like the following (pseudocode because JSON lol):

// GET /schedule
"schedule": {
    "event1": {
        "name": "asdf",
        "time": "12831739", // whatever unix
        "timeZone": "GMT",
        // ...
    }
}

Key elements:

  • time in GMT
  • timeZone from the config file
@peterkos peterkos added blocked 2.2 the next rodeo labels Jan 23, 2021
@peterkos peterkos added this to the v2.2.0 milestone Jan 23, 2021
@JeremyRudman
Copy link
Contributor

#226 merged in

@JeremyRudman JeremyRudman self-assigned this Jan 25, 2021
@peterkos peterkos changed the title Tweak API and add tests for schedule Schedule timezone config, API tweak, add tests for schedule Jan 26, 2021
@JeremyRudman
Copy link
Contributor

blocked by #480

@JeremyRudman JeremyRudman added blocked unplanned and removed 2.2 the next rodeo blocked labels Jan 26, 2021
@JeremyRudman
Copy link
Contributor

semi implemented #551

@JeremyRudman JeremyRudman removed this from the v2.2.0 milestone Feb 1, 2021
@JeremyRudman JeremyRudman removed their assignment Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants