Re: T5: OutputLocaleNumber

2009-02-18 Thread Julian Wood
On our login page, we add some javascript to set a cookie which contains the timezone. @AfterRender public void setClientTimeZoneCookie() { StringBuilder sb = new StringBuilder(); sb.append("var expires = new Date();\n"); sb.append("expires.setTime(expires.getTim

T5: OutputLocaleNumber

2009-02-17 Thread Angelo Chen
Hi, I use http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber OutputLocaleNumber to format a date for display, it works, but it is simply based on the date in the server, is there a way to display according to the viewer's time zone? any tips? Ac -- View this message in context: htt