Wykres commitów

158 Commity (6c7897a0b587dc70e4962375cef88383e3f32435)

Autor SHA1 Wiadomość Data
Johannes Raggam 6c7897a0b5 API to_ical change 2012-01-12 16:40:40 +01:00
Johannes Raggam 6b7d8ae73e remove whitespace 2012-01-12 16:15:08 +01:00
Johannes Raggam fa49a924ba fix to_ical API 2012-01-12 16:14:54 +01:00
Johannes Raggam 930a9d526d one more TODO DONE 2012-01-12 16:06:55 +01:00
Johannes Raggam 586581f2f7 to_ical API also for ContentLines 2012-01-12 16:06:09 +01:00
Rok Garbas acd7f1d534 adding tests back in, otherwise tox is not happy also you want to have tests in the package since you want to be sure everything is working in your env 2012-01-09 19:46:53 +01:00
Rok Garbas 17d2177901 doctest should be included with python 2012-01-08 21:17:20 +01:00
Rok Garbas c5e891b180 we should test icalendar foldline not plone.event's one 2012-01-08 21:13:29 +01:00
Rok Garbas 19ea982bc2 excluding tests from package 2012-01-08 20:55:55 +01:00
Rok Garbas 80a455bf3a since we are running decode in 'strict' mode UnicodeError is always raised 2012-01-08 20:50:34 +01:00
Rok Garbas 703690eb8d removing rfc5545 from docs 2012-01-08 20:37:22 +01:00
Rok Garbas 8e8b636a77 Merge branch 'master' of github.com:collective/icalendar
Conflicts:
	src/icalendar/cal.py
	src/icalendar/prop.py
2012-01-08 20:33:35 +01:00
Rok Garbas e1eaa55f65 removing dependency on setuptools 2012-01-08 20:29:58 +01:00
Rok Garbas 0d44bf0612 manually applying patch http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/icalendar/files/2.1_p20100409/01_all_UIDGenerator-fix.patch?view=markup 2012-01-08 20:29:58 +01:00
George V. Reilly 1cbe085cba Added sorted_items. 2012-01-08 20:29:57 +01:00
George V. Reilly b212e695e2 Merged fixes from kjoconnor. 2012-01-08 20:29:57 +01:00
George V. Reilly 8d7bbb4f1a Better canonical sorting algorithm. 2012-01-08 20:29:57 +01:00
George V. Reilly 232ad0cb32 Fix some typos in comments. 2012-01-08 20:29:57 +01:00
George V. Reilly f3cbae6869 Generate VEVENTs in canonical order.
The default sorted order was extremely irritating:
DTEND before DTSTART, etc.
Now the important properties are listed first:
        'SUMMARY', 'DTSTART', 'DTEND', 'DURATION', 'DTSTAMP',
        'UID', 'RECURRENCE-ID', 'SEQUENCE',
        'RRULE' 'EXRULE', 'RDATE', 'EXDATE',

Also, fixed spelling of RECURRENCE-ID and LAST-MODIFIED.
2012-01-08 20:28:38 +01:00
Rok Garbas d5c27e2c21 removing dependency on setuptools 2012-01-08 15:47:04 +01:00
Rok Garbas 8515a02c3b manually applying patch http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/icalendar/files/2.1_p20100409/01_all_UIDGenerator-fix.patch?view=markup 2012-01-03 15:32:40 +01:00
Rok Garbas e85e12031e Merge pull request #14 from georgevreilly/master
Generate VEVENTs in canonical order
2012-01-03 06:23:21 -08:00
George V. Reilly 23993f5a2b Added sorted_items. 2011-12-22 08:54:29 -08:00
George V. Reilly b56d54b101 Merged fixes from kjoconnor. 2011-12-22 00:09:23 -08:00
George V. Reilly 2b5f34a81d Better canonical sorting algorithm. 2011-12-22 00:04:47 -08:00
George V. Reilly aef0afa2ba Fix some typos in comments. 2011-12-21 19:39:12 -08:00
George V. Reilly 33ab1b01ff Generate VEVENTs in canonical order.
The default sorted order was extremely irritating:
DTEND before DTSTART, etc.
Now the important properties are listed first:
        'SUMMARY', 'DTSTART', 'DTEND', 'DURATION', 'DTSTAMP',
        'UID', 'RECURRENCE-ID', 'SEQUENCE',
        'RRULE' 'EXRULE', 'RDATE', 'EXDATE',

Also, fixed spelling of RECURRENCE-ID and LAST-MODIFIED.
2011-12-21 19:38:40 -08:00
Johannes Raggam bd2ca32972 whitespace 2011-09-14 02:35:54 +02:00
Johannes Raggam 0ea6920c68 add foldline with perfect utf-8 support 2011-09-14 02:35:40 +02:00
Johannes Raggam aa7fe2016e unify API - use to_ical and from_ical 2011-09-13 23:42:17 +02:00
Rok Garbas 4d0cc5fae7 Merge pull request #9 from martinmelin/master
Output datetime objects as iCalendar Value Data Type DATE-TIME, not DATE
2011-09-03 16:14:12 -07:00
Martin Melin e97d28bb66 Merge remote branch 'upstream/master' 2011-09-03 09:49:54 +02:00
Johannes Raggam 8f6764389b update documentation a bit 2011-09-02 12:55:12 +02:00
Martin Melin 82a568d4ce Don't output VALUE=DATE for datetime objects
When for example doing:

    event.add('dtstart', datetime.now())

the resulting output would be:

    DTSTART;VALUE=DATE:20110830T190000Z

Fix this so datetime objects are handled according to RFC 2445,
which means use iCalendar data type DATE-TIME instead of DATE.
2011-08-30 19:37:11 +02:00
Rok Garbas 5841772724 Merge branch 'master' of github.com:collective/icalendar 2011-08-30 09:42:32 +02:00
Rok Garbas 3686f9f64d easy_install was failing because of typo in url ... FIXES #8 2011-08-30 09:40:55 +02:00
Rok Garbas 4d527778cd Merge pull request #6 from frog32/patch-1
daylight saving time bug
2011-08-26 07:07:11 -07:00
Marc Egli 7967e02608 utcoffset respects the given date. this is a problem when creating a datetime which is normaltime and currently there is daylight saving time. to fix this we should use the actual date to determine utcoffset. 2011-08-26 16:00:41 +02:00
Rok Garbas 1b25cdd020 Merge branch 'master' of github.com:collective/icalendar 2011-08-25 00:05:18 +02:00
Rok Garbas 94bcf0b791 master is now "new trunk" for 3.X series 2011-08-25 00:04:22 +02:00
Rok Garbas 2354d4ffa3 making sure first page on pypi renders nicely. 2011-08-24 23:59:43 +02:00
Rok Garbas eb43379c45 Preparing for 2.2 release 2011-08-24 23:18:36 +02:00
Rok Garbas 6696065a44 master is now "new trunk" for 3.X series 2011-08-18 12:32:48 +02:00
Rok Garbas 82b7c93110 icalendar ready to be released 2011-08-18 12:30:59 +02:00
Johannes Raggam 48aa8bfc87 more 3rd person speak 2011-08-18 11:17:51 +02:00
Rok Garbas 0f057a74a7 updating style adding rfc5545 text and converting it to rst 2011-08-18 09:46:21 +02:00
George V. Reilly fe4e4ef803 TZOFFSET{FROM,TO}:0000 -> +0000
Google Calendar and http://severinghaus.org/projects/icv/ complain about a TZOFFSET of 0000 but accept +0000.

Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:50:45 +02:00
George V. Reilly f0117b7898 vRecur.ical()'s parts are in canonical order.
Mac iCal ignores RRULEs where FREQ is not the first rule part. vRecur.ical() now sorts those parts according to the order listed in RFC 5545, section 3.3.10.

Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:37:53 +02:00
Eric Hanchrow 04ae7637e7 style: compare len(comps) to 1 explicitly, to reinforce that the comparison is numeric
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:34:35 +02:00
Eric Hanchrow 82b3ef9f7b Use % operator rather than "format" method, to maintain backwards compatibility
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:33:54 +02:00