--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/75e798e8-2178-4230-8f00-d27a401c51fa%40googlegroups.com.
Hi Ashlin
What version of DSpace are you using? Your question brings to mind a similar problem that I had long ago, wherein I had to change DateUtils.java. This is what i did if it helps:
vi ./dspace-oai/src/main/java/org/dspace/xoai/util/DateUtils.java
34 //Changed by Shaun: SimpleDateFormat sdf = new
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.'000Z'");
35 SimpleDateFormat sdf = new
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
36 //Changed by Shaun: if (!init) sdf = new
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.'999Z'");
37 if (!init) sdf = new
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
Rebuild and deploy.
This has since been rectified in DSpace.
Kind Regards.
Shaun