Skip to content

Datetime field values differ in format #309

@VKTB

Description

@VKTB

I have an investigation in my database with the following CREATE_TIME and MOD_TIME values:

CREATE_TIME: 12-SEP-07 13.59.58.000000000
MOD_TIME: 09-MAR-20 15.19.49.823000000

When I queried for this investigation over SOAP, I noticed that the values for these fields differ in format (the former ends with +01:00 whereas the latter ends with Z):

<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
        <ns2:searchResponse xmlns:ns2="http://icatproject.org">
            <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:investigation">
                <createTime>2007-09-12T13:59:58+01:00</createTime>
                <modTime>2020-03-09T15:19:49.823Z</modTime>
            </return>
        </ns2:searchResponse>
    </S:Body>
</S:Envelope>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions