PlasmaPy / PlasmaPy/plasmapy.github.io
Make #110 display user's timezone calendar
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Erik's embed in #110 is basically
https://calendar.google.com/calendar/embed?height=300&wkst=1&bgcolor=%23ffffff&ctz=America%2FLos_Angeles&src=Y19zcXFxMzkwczI0ampmanAzcTg2cHY0MXBpOEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t&color=%2354bfbf&showTitle=1&showNav=1&mode=MONTH&showTabs=1&showCalendars=0&showPrint=0&showDate=1
But suppose we e.g. had a piece of javascript that did this dynamically, using maybe something like https://stackoverflow.com/questions/1091372/getting-the-clients-time-zone-and-offset-in-javascript, then generated that embed dynamically?
Anyone know javascript?
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 locating the page or embed described in issue #110 and inspect how the current Google Calendar URL is included. Review the linked JavaScript timezone approach before deciding how the embed URL could be generated dynamically. Done means the calendar uses the viewing user's timezone rather than the fixed America/Los_Angeles setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100