22 Mar
2010
22 Mar
'10
8:37 a.m.
Hi, In the Date property, you can define the pattern for string conversion. It seems, from what is displayed, that default pattern is "dd/MM/yyyy hh:mm:ss". So the string you pass to the vObjArticle.set() should be something like "28/10/2008" and not "2008/10/28" IMO, or you should change the pattern in the class property. Jeremie 2010/3/20 Gerritjan Koekkoek <[email protected]>
Hi,
def vPublishDate = "2008/10/28 12:00:00" vObjArticle.set("publishDate",vPublishDate)
But when I look at the page it shows 31/03/0034 12:00:00
Any explanation how to handle dates with groovy for xwiki?
Gerritjan _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users