← Back to team overview

dhis2-devs team mailing list archive

Re: /api/dataValueSets not returning lastUpdated with datetime

 

Great, thanks.

On Thu, Jan 15, 2015 at 6:03 AM, Mahendra Kariya <
mahendra.kariya@xxxxxxxxxxxxxxxx> wrote:

> Hi Lars,
>
> Sorry for the late reply.
> This is fixed in the latest rev.
>
>
> Thanks!
>
> On Fri, Jan 9, 2015 at 4:55 PM, Lars Helge Øverland <larshelge@xxxxxxxxx>
> wrote:
>
>> Can you try to save some data now and see if the time component is still
>> 00 ?
>>
>> On Fri, Jan 9, 2015 at 12:22 PM, Mahendra Kariya <
>> mahendra.kariya@xxxxxxxxxxxxxxxx> wrote:
>>
>>> Bang On! It is indeed "timestamp without time zone". The same is the
>>> case even with created field.
>>>
>>>
>>>
>>> On Fri, Jan 9, 2015 at 4:46 PM, Lars Helge Øverland <larshelge@xxxxxxxxx
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> can you check the database column type of  datavalue.lastupdated ? It
>>>> should be "timestamp without time zone".
>>>>
>>>> Lars
>>>>
>>>>
>>>> On Fri, Jan 9, 2015 at 12:09 PM, Mahendra Kariya <
>>>> mahendra.kariya@xxxxxxxxxxxxxxxx> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> When we do a GET on /api/dataValueSets, the lastUpdated field is
>>>>> always of the format YYYY-MM-DDT00:00:00 irrespective of when the data
>>>>> value was POSTed. The time component is always 00:00:00.
>>>>>
>>>>> Is this a bug?
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Kiran/Mahendra
>>>>>
>>>>
>>>>
>>>
>>
>

References