[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] New date and time formats



Hi All,

I pushed some changes last night that change the way that pulp handles
date and time information through the web interface. Pulp now uses the
iso8601 format for all of its date and time information.

This change includes a new dependency: python-isodate, which can be
found in the rpm directory. Please use this version and not the version
in the python package index (read: cheeseshop) because the upstream
version has a bug.

These changes do require a db migrate (fix in 75deb8a, for those of you
who have already tried this morning). But other than that, you should
not notice this change when using the command line to interact with
pulp.

For those of you that do notice, we are using the extended date form,
which is the closest thing to what we were using before, when we were
using the "iso" format. It looks like:
P[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]:[ZZ].
Also schedules (e.g. repo sync schedules) are in the "repeating
interval" format of: <recurrences>/<start time>/<duration>

Let me know if you have any problems. Given the amount of retro-fitting
in the code to make this work, I'm currently braced for the worst...

References:
http://en.wikipedia.org/wiki/ISO_8601
http://pypi.python.org/pypi/isodate

-- 
Jason L Connor
linear on freenode #pulp
http://pulpproject.org/
RHCE: 805010912355231
GPG Fingerprint: 2048R/CC4ED7C1

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]