All 4,799 reports

MixedCopilot · 10 Oct 2023

It sneaked a minus sign in there so central US offset would be +0600 instead of -0600

esalman on Hacker News

In the thread “GitHub Copilot loses an average of $20 per user per month”, replying to this comment

Got in the way: Subtle logic error in timezone offset generation.

… I let it autocomplete a function for generating time zone offset. It sneaked a minus sign in there so central US offset would be +0600 instead of -0600. My manager caught it during code review. …