feature request: determine timezone offset for local timestamp

Open
#5 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
api

Research direction

Start by reading the Atlas API entry points and checking how they currently handle date and time inputs; the issue does not name a file or test. Work is done when a submitted local date and time can yield a timezone or timezone-aware timestamp when possible, and invalid or ambiguous times can produce an error. The issue has had no recent activity, so check whether the project still wants this feature before starting.

Written by the indexing model from the issue text.

Description

I'd like a feature where I submit a date and local time (without a timezone) and get, if possible, the timezone for this time and/or a fully tz-aware timestamp.

This is a bit ugly since it has edge cases: timestamps can either not be valid or ambigious, e.g. when they fall in a DST switch. For me, erroring out would be acceptable behavior in both cases.

Dominant language
CSS
Stars
26
Forks
3
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aaronpk/Atlas

All issues in aaronpk/Atlas

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.