Hacker News new | past | comments | ask | show | jobs | submit login

Why is the string representation of:

  2.months().from_now()
printing a date one year in the past?

  date: active_support::date::Date{year: 2013, month: 2u, day: 28u}, hours: 0u, minutes: 59u, seconds: 6u, nanos: 243388962u



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: