From: Roberto V. <rvi...@mk...> - 2006-10-13 19:41:39
|
I can duplicate... slightly older jython, but new jvm: Jython 2.1 on java1.5.0_09 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> from time import gmtime, strftime >>> test=gmtime(1153007100) >>> print strftime("%Y%j %H:%M",test) 196 23:45 >>> Not that I can help you, but at least you're not alone... Roberto On Friday 13 October 2006 15:23, Kevin Baggett wrote: > Hi, > I am having problems with the following using Jython 2.2a1: > > from time import gmtime, strftime > test=gmtime(1153007100) <- secs since 1-1-1970 > testDate=strftime("%Y%j %H:%M",test) > > I am expecting to see "2006196 23:45" but instead get "196 23:45". > Anybody seen this behavior and a possibility to fix it? > Thanks! > Kevin > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |