Closed GoogleCodeExporter closed 9 years ago
Geng, you've provided a time component in the property value (the bit after the
letter "T"), but d:date properties only support dates (not times).
Can you try the following and report back?
<entry key="ucm:mydate">2011-23-10</entry>
Original comment by pmo...@gmail.com
on 23 Oct 2012 at 5:36
Thank you for your quick response !
I tried several formats again and again. it returned:
Constraint: 09241996 The value is not an allowed value: 2012-10-24
Constraint: 09241990 The value is not an allowed value: 14 May 2012
onstraint: 09241981 The value is not an allowed value: Mon, 14 May 2012
13:56:38 GMT
....
I'm perl developer know a bit of java. I tried the input format reference to
these links:
http://dev.alfresco.com/resource/docs/java/core/org/alfresco/util/ISO8601DateFor
mat.html#parseDayOnly%28java.lang.String,%20java.util.TimeZone%29
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/c
ore/source/java/org/alfresco/util/CachingDateFormat.java
Good day..
Original comment by gen...@gmail.com
on 24 Oct 2012 at 1:37
I'm foolish ...
Dude, I made mistake during the importing last time.
"2011-23-10T16:00:33.507+08:00" DOES work for d:date !
Really appreciate for your quick response .
I found great projects you contributed to alfresco including "groovy-webscripts"
You are the man !
Original comment by gen...@gmail.com
on 24 Oct 2012 at 8:15
Well spotted! And thanks for taking the time to update the ticket with the
final resolution - it really helps anyone who runs into the same problem.
Original comment by pmo...@gmail.com
on 24 Oct 2012 at 2:31
Original issue reported on code.google.com by
gen...@gmail.com
on 23 Oct 2012 at 10:38