noosfero | Fix DB timezones and detect user timezone (#430)

Antonio Terceiro gitlab at gitlab.com
Thu Jan 29 12:03:30 BRST 2015


New comment for Merge Request 430

https://gitlab.com/noosfero/noosfero/merge_requests/430#note_811007


Antonio Terceiro

sure, seems to be possible. we would have to write and maintain the code to parse the `Cookie` header, pick the value of the timezone from there, and then use it as part of the cache hash.

Since all you need for this to work on the Rails side is a `before_filter` I would bde way less worried if this was a plugin.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150129/1494bbe3/attachment.html>


More information about the Noosfero-dev mailing list