mappum/gitbanner

Shifted off by a day

Opened this issue · 2 comments

A timezone issue causes some banners to be a day off. Example: https://github.com/replaid

I think this has something to do with daylight savings time.

This image is a screenshot of running version 61f6d9f with a slight patch to create commits one day prior. The input was " Doin' Stuff" (with the initial space).

gitbanner-time-bug

Sorry about that image showing three experiments at once. The "D" seems ok but somewhere around March things it gets shifted such that the "u" is shifted one off. Daylight savings is March 9 in the US, so I bet that's related.

Thanks for turning this into an issue. Happy to help in any way that's useful.