PlasmaPy / PlasmaPy/plasmapy.github.io
Create shortcode to handle time zones
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Create a shortcode so we can defined a meeting in a given timezone (e.g. EST) hand have the other timezones (PST and UTC) automatically generated.
It might be possible to store meeting times in web/data/vars.json so the variables are available to all pages/posts. This would allows us to only update vars.json if we change a weekly meeting time, and the change would propagate to all pages/posts.
It would nice to this pinned with a cron job that has the website built, say, at 5am EST every Sunday so time changes from daylight savings is automatically adjusted for.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the proposed web/data/vars.json location and how shortcodes are handled in the website pages and posts. Define how a meeting time in one timezone should produce PST and UTC values, then determine how the website build could be scheduled by cron for weekly daylight-saving updates.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100