Simba-Avionic / Simba-Avionic/gs_web_app
Plot timestamp displays in UTC instead of timezone defined in .env
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4
- Forks
- 3
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 3
Description
It sometimes happens that when plotting some data the timestamp on the x-axis is displayed as UTC timezone.
Timestamp is created inside node_handler.py file
Files probably affected: components/plots/Plot.svelte
Proper flow should be:
- (backend) node_handler creates utc timestamp
- (frontend) based on the value inside vite.config.js it should convert timestamp to given timezone.
Contributor guide
No contributing guide indexed for this repository
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 tracing timestamp creation in node_handler.py and the plotting flow in components/plots/Plot.svelte. Check how the timezone value is supplied through vite.config.js, then reproduce a plot with a configured timezone. Done means the x-axis displays the timestamp in that configured timezone while the backend continues creating UTC timestamps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100