Adventures in Time: Debugging a Daylight Saving Bug

What’s more fun than bugs? Bugs involving time! And none are so fascinating as bugs involving daylight saving time.With Daylight saving time almost upon us again, I thought it would be fun to revisit this bug my team and I stumbled across last fall.Once upon a time…When subscribing a customer to a monthly plan in our billing system, we calculate the date of the customer’s next bill by adding 30 days to their current time, and using that to create a subscription on Stripe.However, at some point in October, we started to see this fail:.
Adventures in Time: Debugging a Daylight Saving Bug #ruby #rubydeveloper #rubyonrails #bug https://rubyonrails.ba/single/adventures-in-time-debugging-a-daylight-saving-bug

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles