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

Last commit: -1 months ago #7

Open
jaredbeck opened this issue Aug 19, 2018 · 3 comments
Open

Last commit: -1 months ago #7

jaredbeck opened this issue Aug 19, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@jaredbeck
Copy link

jaredbeck commented Aug 19, 2018

Current date is Sat Aug 18 21:05:30 EDT 2018
Last commit is Sat Aug 18 20:50:32 2018 -0400
Expected: Last commit: 15 minutes ago
Observed: Last commit: -1 months ago

any_good paper_trail
# ...
         Last commit: -1 months ago
      ...last closed: -1 months ago
# ...
date
Sat Aug 18 21:05:30 EDT 2018
git show
commit b0e4477864096832b57c1ef9edc0543f286fdaeb (HEAD -> master, origin/master, origin/HEAD)
Date:   Sat Aug 18 20:50:32 2018 -0400
@zverok zverok added the bug Something isn't working label Aug 25, 2018
@zverok
Copy link
Owner

zverok commented Aug 25, 2018

That's funny :( Playing with dates and times and can't guess how this bug could emerge.
Please tell me if you'll see the same thing again (and if it is not too much to ask, can you show what exactly Time.now will show in irb at this time).

@jaredbeck
Copy link
Author

I expect this can only be reproduced within a certain time window after a gem is released, so I'll try to remember to test again the next time I release something.

@zverok
Copy link
Owner

zverok commented Aug 27, 2018

Thanks! The bug looks definitely like related to timezones, but I played with different gems and dates, and everything seems to work well, some weird edge case I can't guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants