ruby on rails - I18n.l displays wrong month (one month later) -
i have strage issue i18n.l helper. i've got following date in updated_at database field: 2013-04-09 08:17:26
i display date in view <%= l product.updated_at %>
, the first time load page: dienstag, 09. april 2013, 10:17 uhr
. when refresh page becomes dienstag, 09. mai 2013, 10:17 uhr
. can see date 1 moth later. sticks until restart server. once again displays correctly 1 time.
what issue here?
found it. bug in spree version using. deleting nil key month_names accidentally: https://github.com/spree/spree/pull/2427
Comments
Post a Comment