[opencms-dev] OpenCmsDateTime validation

Alessandro Magnolo alessandro.magnolo at gmail.com
Wed May 20 16:14:38 CEST 2015


This has been an issue at least since OpenCms 9.0.1
https://github.com/alkacon/opencms-core/issues/240


On Thu, May 14, 2015 at 9:36 AM, Filip Kratochvil
<filip.kratochvil at nelasoft.cz> wrote:
> 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: filip.kratochvil at nelasoft.cz
> Web: www.nelasoft.cz
>
> Twitter: @NELASOFT
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>



More information about the opencms-dev mailing list