Rails, timezones and the current date – an awkward combination
Posted on: Wednesday, Jan 9, 2019
Working with time zones in Rails sometimes requires a bit knowledge and persistence to get it right; I learned that this is something you can easily do wrong. Ask a random Ruby developer to get today’s Date. He will most likely respond with Date.today. And what about the current time? He’ll probably say Time.now. Both […]
- Tags: current, development, rails, ruby, timezone, today, utc
- No Comments