This project is archived and is in readonly mode.
Cookies :expires value WRONG when I18n locale isn't EN
-
Gacha
Working workaround:
response.headers['Set-Cookie'] = "welcomed=true; path=/; expires=#{I18n.l(1.year.from_now, :locale => :en, :format => "%a, %d-%b-%Y %H:%M:%S GMT")}" -
Rizwan Reza
- Tag changed from cookies, expires, i18n to bugmash, cookies, expires, i18n
-
Patrik Stenmark
This is not reproducible for me, both in master and 2.3.5.
Created a blank app, added the locales for lv, set default locale to :lv (
config.i18n.default_locale = :lv), created a controller that doesdef index cookies[:test] = {:value => 1, :expires => 1.day.from_now} endThe result from
curl -i http://localhost:3001/testisSet-Cookie: test=1; path=/; expires=Sun, 16-May-2010 10:05:04 GMT -
Anil Wadghule
This is not reproducible. I have tested in master branch.
-
pleax
Could not reproduce either.
-
Rizwan Reza
- Tag changed from bugmash, cookies, expires, i18n to cookies, expires, i18n
- State changed from new to invalid