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

Timezone Support? #9

Open
lordson-ajira opened this issue Dec 26, 2020 · 0 comments
Open

Timezone Support? #9

lordson-ajira opened this issue Dec 26, 2020 · 0 comments

Comments

@lordson-ajira
Copy link

lordson-ajira commented Dec 26, 2020

TL;DR Would adding timezone support - esp. IANA timezones with DST - without external dependencies - be a worthwhile effort in this library?
If not, would it be possible to add hooks, so that some other library *cough* luxon/moment-tz *cough* could do the timezone+DST specific heavy lifting and later could just make use of the Date objects provided by it

Current State

From what I see of the code, later currently supports UTC or the server's local timezone alone

Use Case

I'm writing a small service which gets reminder/schedule from users who could potentially be in different time zones.
later fits all my requirements (lightweight, human-readable schedule parsing) except for the timezone part.
I'll anyways be using later as timezone support isn't a deal-breaker, but might be easier if atleast some hooks were provided so that it would be possible to "opt-in" for timezone support without having to fork the code.

Considerations

I wouldn't want to support timezones in later itself if its only possible by adding dependencies, because no dependencies is a really good selling point for this library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant