[katello-devel] Dates in the url

Amos Benari abenari at redhat.com
Tue Jul 19 12:37:53 UTC 2011


----- Original Message -----
> From: "Bryan Kearney" <bkearney at redhat.com>
> To: ohadlevy at redhat.com
> Cc: katello-devel at redhat.com
> Sent: Tuesday, July 19, 2011 2:44:22 PM
> Subject: Re: [katello-devel] Dates in the url
> On 07/19/2011 02:32 AM, Ohad Levy wrote:
> > On Mon, 2011-07-18 at 15:52 -0300, Dmitri Dolguikh wrote:
> >> On 11-07-18 3:45 PM, Bryan Kearney wrote:
> >>> Are any of the katello or pulp urls using dates? We have a bug in
> >>> candlepin where the caller is expcting to pass in an ISO 8601 date
> >>> but candlepin is expecting an xsd string:
> >>>
> >>> http://books.xmlschemata.org/relaxng/ch19-77049.html
> >>>
> >>> I am trying to decid if is worth changing it.
> >>>
> >>> -- bk
> >>>
> >>> _______________________________________________
> >>> katello-devel mailing list
> >>> katello-devel at redhat.com
> >>> https://www.redhat.com/mailman/listinfo/katello-devel
> >> not sure about pulp, but katello doesn't use dates in urls, only in
> >> models. Those will be in the body of http message, encoded as json.
> >> Not sure if it affects us...
> >> -d
> >
> > I think that search supports date as part of the search query param.
> >
> 
> What format? The issue is one of how to model the time zone :) If
> everyone was EST it would be ok.

The search support a lot of dates and time formats see: http://scopedsearch.wordpress.com/2011/07/17/date-time-search-query-syntax/
This is not what you are looking for, it doesn't solve the date format in the API.
Amos.


> 
> -- bk
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list