[opencms-dev] OpenCmsDateTime validation

Filip Kratochvil filip.kratochvil at nelasoft.cz
Thu May 14 09:36:16 CEST 2015


Hi guys,

 

we have small problem with OpenCmsDateTime field in xmlcontents:

 

-          there is no correct field validation

-          when we insert non-existent date (e.g. 31.4.2015), we can save
xmlcontent with no problems, but date is changed and saved with bad value
1.5.2015 (next correct day). Editor don't have any info.

-          it's not possible to validate value by classic validation rule
(regex) in XSD because datetime is stored in unix/epoch timestamp

 

Any tip how to solve it?

Is there a way to change/modify this future?

 

Thanks a lot.

 

--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail:  <mailto:filip.kratochvil at nelasoft.cz> filip.kratochvil at nelasoft.cz
Web:  <http://www.nelasoft.cz/> www.nelasoft.cz

Twitter:  <https://twitter.com/NELASOFT> @NELASOFT

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150514/f3d0a041/attachment.htm>


More information about the opencms-dev mailing list