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

Added future time display #4

Merged
merged 1 commit into from
Aug 18, 2019
Merged

Added future time display #4

merged 1 commit into from
Aug 18, 2019

Conversation

arthurtyukayev
Copy link

@arthurtyukayev arthurtyukayev commented Aug 10, 2019

Add support for future time display. Not sure if this is something you want to support, but this is required for one of my projects, so I've created this PR.

Also, I updated the test to use Date.valueOf(), you cannot add time to a Date object like you with subtract.

@sebastiansandqvist
Copy link
Owner

I like this. Thank you!

In a future update I'll probably change it from "in..." to "...from now" in order to keep the time as the first thing that is read, but I'll go ahead and merge as-is for now.

@sebastiansandqvist sebastiansandqvist merged commit 206c156 into sebastiansandqvist:master Aug 18, 2019
@arthurtyukayev arthurtyukayev deleted the at/add-inverted-display branch August 27, 2019 17:38
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

Successfully merging this pull request may close these issues.

2 participants