[katello-devel] Dates in the url

Todd Sanders tsanders at redhat.com
Tue Jul 19 12:04:42 UTC 2011


On 07/19/2011 07:44 AM, Bryan Kearney wrote:
> 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.
>
> -- bk
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
We are using dates in our URLs for Pulp passed in in ISO8601 format:

Check out Repository Creation   (Sync Schedules):

https://fedorahosted.org/pulp/wiki/UGREST-Repositories#CreateaRepository

I believe we are storing all date/times in UTC on the server.....jconnor 
is the best person to ask about how we handle time-zones.

-Todd




More information about the katello-devel mailing list