dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36949
Re: Timestamps on metadata export
Sorry. Please larglely ignore the last message. It looks like decimal
seconds are indeed valid. (just that not every validator knows this)
But can someone still confirm that is indeed a xsd:dateTime.
Cheers,
-carl
On Tue, Apr 14, 2015 at 12:28 PM, Carl Leitner <litlfred@xxxxxxxxxxx> wrote:
> Hi All,
> In the dxf metadata export there are @lastUpdated and @created
> attributes. What is the format for these attributes?
>
> I assumed that they were xsd:dateTime's or something. Looking at an
> example:
> <document name="Central Level EPI Harmonization"
> created="2013-06-25T16:45:13.000+0000"
> lastUpdated="2012-08-23T14:01:36.868+0000" id="xCcasyVyLF8">
>
> The time looks like 2012-08-23T14:01:36.868+0000 which has a decimal
> compoenent to the second. If I understand correctly, this is not a valid
> xsd:dateTIme:
> http://www.w3.org/TR/xmlschema11-2/#dateTime
>
> Can someone clarify this for me? Thanks!
>
> Cheers,
> -carl
>
References