This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] Calendaring with time zones!

Clara Raubertas clara.raubertas at gmail.com
Fri Sep 30 22:21:06 UTC 2011


This looks to be a caching issue with JavaScript -- it looks like the
production environment is set up to put all the JS code into 'all.js', but
that that file hasn't reloaded the new changes to 'application.js' (which
are needed to get user's timezone). Is there a cache reset or something we
can do? When I run this on my dev environment in production mode, 'all.js'
picks up the current 'application.js'.

On Fri, Sep 30, 2011 at 5:44 PM, Asheesh Laroia <lists at asheesh.org> wrote:

> Excerpts from Clara Raubertas's message of Fri Sep 30 15:55:32 -0400 2011:
> > Also, I give permission for all my modifications to calagator (these and
> any
> > future merge requests) to be shared/modified/etc under the MIT license.
>
> Sweet!
>
> I just deployed this, and I find it works great on the "beta" site:
>
> http://calendar-beta.openhatch.org/
>
> On the live site, events.openhatch.org, everything stays in UTC. Perhaps
> this
> is a quick of the "production" mode that the main site runs in; the beta is
> in the default mode, which I believe is "development".
>
> Is there something you can adjust in the Rails code that means that even
> the
> production version responds to the user's timezone?
>
> I'm sure that will make performance worse, but that's life in a dynamic web
> app world. (-:
>
> -- Asheesh.
> _______________________________________________
> Devel mailing list
> Devel at lists.openhatch.org
> http://lists.openhatch.org/mailman/listinfo/devel
>



-- 
http://stemming.org - a community for girls and women interested in the STEM
fields (science, tech, engineering, and math)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20110930/4e686029/attachment.html>


More information about the Devel mailing list