Mikael Frykholm
fcee294b03
Don't crash on Parameters({})
...
We don't convert newline to linefeed+newline, fix test to reflect this.
2012-03-05 10:12:05 +01:00
Dai MIKURUBE
31cd1ad8f1
add an argument 'recursive' to property_items() and tests for it.
2012-03-04 16:19:59 -08:00
Johannes Raggam
51f96331b6
more changelog
2012-03-01 23:26:49 +01:00
Johannes Raggam
85431c6cc9
prepare release
2012-03-01 23:22:25 +01:00
Johannes Raggam
7d477371c4
one more todo
2012-03-01 23:12:46 +01:00
Johannes Raggam
73606077cf
* For all TZID parameters in DATE-TIME properties, use timezone identifiers
...
(e.g. Europe/Vienna) instead of timezone names (e.g. CET), as required by
RFC5545. Timezone names are used together with timezone identifiers in the
Timezone components.
2012-03-01 22:48:15 +01:00
Johannes Raggam
bdcd65be04
remove deprecated fixedoffset test. use timezone identifier in vPeriod timezones instead of timezone name
2012-03-01 22:12:46 +01:00
Johannes Raggam
f9a43cf5e6
Merge branch 'master' into tzid-instead-tzname
2012-03-01 21:42:38 +01:00
Johannes Raggam
908013aa5e
add dottests testconfig, but leave it deactivted yet. lots of import failures, since no imports are declared explicitly
2012-03-01 21:42:13 +01:00
Johannes Raggam
d0bd4e19e9
add interlude
2012-03-01 21:41:04 +01:00
Johannes Raggam
1de4eb816f
use tzinfo.zone to get timezone identifier instead of timezone name to conform to the icalendar standard
2012-03-01 21:12:36 +01:00
Johannes Raggam
1f8adc1aa3
remove normalized_tzid again. the string representation of tzinfo is what was
...
initially set as timezone. but pytz translates it to the correct common
timezone name, which should actually be used instead. 'Europe/Vienna' is in
timezone 'CET', which itself has all Daylight Saving Time information set.
so, it's totally ok to use 'CET' instead.
2012-03-01 15:37:49 +01:00
Johannes Raggam
3ba9b40e4c
rename timezone_from_string to normalized_timezone, which is more appropriate. add normalized_tzid which add returns the timezone identifier as it was initially set
2012-03-01 15:37:19 +01:00
Johannes Raggam
094eca3869
remove unused import
2012-03-01 15:36:19 +01:00
Johannes Raggam
16a69f4f64
use pytz utc implementation instead of the own implementation
2012-03-01 14:36:17 +01:00
Johannes Raggam
11fd56dc40
Merge remote-tracking branch 'mikaelfrykholm/master'
2012-03-01 13:32:06 +01:00
Johannes Raggam
ba988d8341
Merge branch 'master' of github.com:collective/icalendar
2012-02-29 12:31:18 +01:00
Johannes Raggam
84c653bf16
docuemnt the to_ical and from_ical API. Fixes #32
2012-02-29 12:31:11 +01:00
Mikael Frykholm
d7ab420a52
more unit tests fixed. Normalize what we call the timezone as a string. Fixed some unit tests that assumed datetime in UTC, we don't convert everything to UTC but perhaps we should? Added a test to make sure we don't lose tz info.
2012-02-28 14:52:04 +01:00
Mikael Frykholm
ece4d0569f
Case mismatch in error message, we get the expected response but the case is switched.
...
Changing unit test to reflect real world.
2012-02-28 07:53:51 +01:00
Rok Garbas
50267e8713
Merge pull request #33 from mikaelfrykholm/master
...
I'm fixing the unit tests, 8 fail with these fixes.
2012-02-27 09:10:20 -08:00
Rok Garbas
597338eb1f
wrong syntax for py24 and py25
2012-02-27 17:50:40 +01:00
Mikael Frykholm
c72891ff3f
Fix foldline to give the correct parameters to the python textwrap method. Fix unit tests accordingly.
...
Add explicit newline when we serialize with to_ical(). Fix unit tests accordingly.
2012-02-27 14:39:54 +01:00
Mikael Frykholm
3600de64ba
Small timezone simplification. Fix test use the name we get from tzname().
2012-02-27 14:37:43 +01:00
Rok Garbas
bc9f713107
adding py32 env for testing with tox
2012-02-27 11:47:52 +01:00
Rok Garbas
5831e15a74
Merge pull request #29 from tgecho/patch-1
...
Fixed vDatetime.to_ical() so that the doctests at lines 515 and 527 pass...
2012-02-27 01:23:34 -08:00
Rok Garbas
f469e86549
relicensing which was discussed and fixes #2
2012-02-27 10:22:43 +01:00
Rok Garbas
656515dc17
adding pytz ad dependency, this fixes #31
2012-02-27 10:15:23 +01:00
Johannes Raggam
184e1247a5
prepare release
2012-02-24 15:52:14 +01:00
Johannes Raggam
dc69525c1e
beta is more appropriate than alpha. 3.0 is in a workable state, though tests are failing.
2012-02-24 15:30:33 +01:00
Johannes Raggam
14bfb6c970
prepare release
2012-02-24 13:29:13 +01:00
Erik Simmler
e9cde05eda
Fixed the github editors char mangling
2012-02-22 13:40:38 -05:00
Johannes Raggam
65d3197c53
3.0 changelog startet.
2012-02-22 11:33:58 +01:00
tgecho
973d3c6a82
Fixed vDatetime.to_ical() so that the doctests at lines 515 and 527 pass. It was failing to print the Z at the end of the string.
2012-02-22 00:00:28 -05:00
Johannes Raggam
6f899869d4
formating...
2012-02-16 14:02:17 +01:00
Johannes Raggam
35e32fdc97
integrate tzid support when adding datetimes to a calendar via the component.add API
2012-02-16 13:51:04 +01:00
Johannes Raggam
ef78daaf0f
use timezone_from_string, now in parser.py
2012-02-16 13:17:59 +01:00
Johannes Raggam
17fddb35f8
timezone_from_string
2012-02-16 13:17:23 +01:00
Johannes Raggam
e9b624d072
add timezoned tests
2012-02-16 12:07:33 +01:00
Johannes Raggam
9452352c89
fix cleanup timezone. convert to str, since timezone might be a pytz zone already
2012-02-16 12:07:12 +01:00
Johannes Raggam
6a54e416a8
further timezone stuff. see if it works...
2012-02-16 01:00:59 +01:00
Johannes Raggam
41728c3853
add basic timezone support for datetimes
2012-02-15 15:05:54 +01:00
Johannes Raggam
58625ae0a5
cleanup
2012-02-15 12:55:30 +01:00
Johannes Raggam
57b46fb5dd
cleanup
2012-02-15 12:32:46 +01:00
Johannes Raggam
6ad97552da
cleanup
2012-02-15 12:29:12 +01:00
spanktar
bd4350cd86
Merge pull request #26 from pferreir/master
...
Lines should be folded
Seems simple enough. I'm not [yet] in a position to verify. Any tests are appreciated.
2012-02-01 09:41:25 -08:00
Pedro Ferreira
beaff41ca2
Take line folding into account in to_ical
2012-02-01 18:26:53 +01:00
Johannes Raggam
2781212e0e
remove pdb
2012-01-12 18:56:37 +01:00
Johannes Raggam
8915433569
for values not deriving from str, use to_ical to convert to ical string
2012-01-12 17:03:36 +01:00
Johannes Raggam
63083dc68f
remove reduntant and not-working util.py, fix to_ical API in tools.py
2012-01-12 16:41:12 +01:00