[OAI-implementers] <datestamp> format please

Alan Kent ajk@mds.rmit.edu.au
Sat, 2 Mar 2002 20:43:20 +1100

On Sat, Mar 02, 2002 at 09:32:34AM +0000, herbert van de sompel wrote:
> datestamps in 1.1 are YYYY-MM-DD, which is ISO8601
> responseDates in 1.1 are YYYY-MM-DDThh:mm:ssTZD which is ISO8601
> > sceti returns '2001-09-28T11:27:13-04:00' (ISO format).
> correct

So sceti is incorrect since the above was returned in a <datestamp>
element (not responseDates) and <datestamp> requires only YYYY-MM-DD?

> The above problem is one of those instances where it should be trivial
> for a repository to make a fix.  Why not just send an e-mail to the
> admin, and report the problem?

I wanted to make sure who was wrong first! :-)

The spec is ambiguous because it says 'all dates in response packets
are ISO date/time strings', but the <datestamp> element in a record is
not an ISO date/time stamp - just the date. So the spec should have
said responseDates are in the ISO format (ie, been more specific).