This project is archived and is in readonly mode.

#4401 ✓invalid

Cookies :expires value WRONG when I18n locale isn't EN

Reported by Gacha | April 15th, 2010 @ 08:13 AM

Example code:

  cookies[:welcome] = {:value => 1, :expires =>}
Result when LV locale enabled:
  Set-Cookie: welcome=1; path=/; expires=Pk, 15-apr-2011 06:31:49 GMT
Result when EN locale enabled:
  Set-Cookie: welcome=1; path=/; expires=Fri, 15-Apr-2011 06:31:54 GMT

Some browsers doesn't understand localized time, noticed this on Safari and Chrome.

Rails 2.3.5

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket