Wykres commitów

1430 Commity (master)

Autor SHA1 Wiadomość Data
Johannes Raggam 9de69b9af2 begin encoding tests. NOT FINISHED. 2012-03-19 22:43:09 +01:00
Johannes Raggam d1f992a337 fix tests to use assertequal where asserttrue was used, etc 2012-03-19 22:42:46 +01:00
Johannes Raggam e02357eac6 changelog entry for UTC-OFFSET in seconds 2012-03-19 21:39:30 +01:00
Johannes Raggam e4c7e0f28a Merge remote-tracking branch 'nikolaeff/master' 2012-03-19 21:33:53 +01:00
Johannes Raggam 9a9349c30b remove comment 2012-03-19 18:16:07 +01:00
Johannes Raggam 0d219c2229 remove utctz method and normalize_timezone. utctz is too tiny to be a senseful wrapper and normalize_tiezone did a bit too much (allowing tzinfo instances, where never one could be passed) 2012-03-19 18:15:22 +01:00
Johannes Raggam 3cfb1ddaf1 update changelog with recent changes 2012-03-19 18:14:10 +01:00
Johannes Raggam b2fec30125 remove utctz method and normalize_timezone. utctz is too tiny to be a senseful wrapper and normalize_tiezone did a bit too much (allowing tzinfo instances, where never one could be passed) 2012-03-19 18:12:39 +01:00
Johannes Raggam 4881f84d43 restore tox environment for all major python versions 2012-03-19 17:34:12 +01:00
Johannes Raggam f0cc686290 force UTC conversion for CREATED, DTSTAMP and LAST-MODIFIED properties 2012-03-19 17:33:34 +01:00
Andrey Nikolaev 7e28273677 Adding support for UTCOffset with seconds. I.e. +033010. 2012-03-19 19:36:29 +04:00
Johannes Raggam 346d79df5b convert to unix fileformat 2012-03-19 16:20:52 +01:00
Johannes Raggam 0891891b02 correct dtstart, dtend to artsprint dates. convert ics file to unix fileformat 2012-03-19 16:18:10 +01:00
Johannes Raggam 707049e0aa add timezoned from_ical test 2012-03-19 16:13:58 +01:00
Johannes Raggam db1872d6a6 add changelog entry 2012-03-19 13:40:28 +01:00
Johannes Raggam 7e387aa6ad merged: remove last occurrences of old API. 2012-03-19 13:39:09 +01:00
Johannes Raggam 3f891d9a41 changelog entries for last two commits. prepare release 2012-03-19 13:38:06 +01:00
Rembane 987befc0c3 changed the old method name from_string to the new method name from_ical in docs/examples.rst. 2012-03-17 13:26:35 +01:00
Johannes Raggam be92f23ba8 Merge remote-tracking branch 'dmikurube/recursive-property_items' 2012-03-09 16:28:22 +01:00
Mikael Frykholm 78d4ea56cb Remove stray '-', probably som left over from merging. 2012-03-05 10:23:26 +01:00
Mikael Frykholm 7a6bd3e850 When using Component.decoded() we can get objects instead of strings, handle this.
Don't do unnecessary str() conversions.
2012-03-05 10:17:26 +01:00
Mikael Frykholm 12ac9c43a2 Remove stray print. 2012-03-05 10:12:24 +01:00
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