You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Raj Kumar <ko...@intalio.com> on 2001/08/08 23:52:56 UTC

Question about the date format in slide

hi remy,
   Is there a specific format that is used for storing the date in the
database for fields like the last modified date.
   DASL specification defines a specific format in which the date needs to
be stored.Is this format used anywhere?
           thanks,
           rajkumar


-----Original Message-----
From: Remy Maucherat [mailto:remm@apache.org]
Sent: Tuesday, August 07, 2001 9:30 PM
To: slide-dev@jakarta.apache.org
Subject: Re: Scope config parameter for WebdavServlet


> Hi all,
>
> I'd like to add a feature to the WebdavServlet: the option to configure it
so
> that it only exposes a part of the entire Slide namespace via WebDAV. For
> example, assuming the standard namespace layout /users, /actions and
/files, I
> could choose to only expose the resources in the /files scope. Sort of
using the
> scope parameter as offset into the Slide namespace.
>
> The init-parameter name would be 'scope' or 'scope-offset' or something
like
> that.
>
> Any objections ?

That's a very good idea.

Remy


Re: Question about the date format in slide

Posted by Remy Maucherat <re...@apache.org>.
> Raj Kumar wrote:
>
> > hi remy,
> >    Is there a specific format that is used for storing the date in the
> > database for fields like the last modified date.
> >    DASL specification defines a specific format in which the date needs
to
> > be stored.Is this format used anywhere?
> >            thanks,
> >            rajkumar
>
> org.apache.slide.content.NodeRevisionDescriptor has the date formatting
code...
> strange ...
> creationdate uses "yyyy-MM-dd'T'HH:mm:ss'Z'"
> but lastmodification uses "EEE, dd MMM yyyy HH:mm:ss zzz"

The first one is the ISO format (I have no idea why WebDAV chose to use it).
The other is one of the usual HTTP date formats.

Remy


Re: Question about the date format in slide

Posted by Dirk Verbeeck <di...@pandora.be>.
Raj Kumar wrote:

> hi remy,
>    Is there a specific format that is used for storing the date in the
> database for fields like the last modified date.
>    DASL specification defines a specific format in which the date needs to
> be stored.Is this format used anywhere?
>            thanks,
>            rajkumar

org.apache.slide.content.NodeRevisionDescriptor has the date formatting code...
strange ...
creationdate uses "yyyy-MM-dd'T'HH:mm:ss'Z'"
but lastmodification uses "EEE, dd MMM yyyy HH:mm:ss zzz"


Dirk