Mercurial > urweb
view tests/toString.ur @ 1448:37599e85bba8
Fix getting UTC time from formatted strings ( in uw_Basis_readUtc ).
Corrects 2 things:
- timezones with offsets not an integer number of hours
- double correcting for daylight savings time
author | Karn Kallio <kkallio@eka> |
---|---|
date | Wed, 13 Apr 2011 00:04:41 -0430 |
parents | df00701f2323 |
children |
line wrap: on
line source
fun main () : transaction page = return <html><body> 6 = {cdata (show _ 6)}<br/> 12.34 = {cdata (show _ 12.34)}<br/> Hi = {cdata (show _ "Hi")}<br/> False = {cdata (show _ False)}<br/> </body></html>