bernhard: utils/testing day_appointment.py,1.1,1.2

cvs at kolab.org cvs at kolab.org
Fri Oct 31 16:47:49 CET 2008


Author: bernhard

Update of /kolabrepository/utils/testing
In directory doto:/tmp/cvs-serv10174

Modified Files:
	day_appointment.py 
Log Message:
Beautifying:
 * New default: startdate in 2008; basenumber 1000
 * Leave one empty line between VEVENTS.
 * No leading empty line anymore.
 * Attendee mailto address typo fixed.


Index: day_appointment.py
===================================================================
RCS file: /kolabrepository/utils/testing/day_appointment.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- day_appointment.py	13 Sep 2004 09:45:40 -0000	1.1
+++ day_appointment.py	31 Oct 2008 15:47:47 -0000	1.2
@@ -17,26 +17,25 @@
 
 # note because of the inverse time conversion functions
 # mktime() and localtime() this _might_ behave differently from UTC
-startingtimestring="20030615T224600Z"
+startingtimestring="20081110T214600Z"
 
 increment_seconds=60*5
-basenumber=100
+basenumber=1000
 how_many=12*14 # 14 hours
 
 t=time.strptime(startingtimestring,"%Y%m%dT%H%M%SZ")
 seconds=time.mktime(t)
 
 
-header="""
-BEGIN:VCALENDAR
+header="""BEGIN:VCALENDAR
 PRODID
  :-//K Desktop Environment//NONSGML libkcal 3.1//EN
 VERSION
  :2.0"""
 
-footer="""END:VCALENDAR"""
+footer="""\nEND:VCALENDAR"""
 
-dayfmt="""BEGIN:VEVENT
+dayfmt="""\nBEGIN:VEVENT
 ORGANIZER
  :MAILTO:bernhard8.reiter at moritz.kolab.org
 ATTENDEE
@@ -44,7 +43,7 @@
  ;RSVP=FALSE
  ;PARTSTAT=ACCEPTED
  ;ROLE=REQ-PARTICIPANT
- :mailto:bernhard8.reiter at moritz.kolab.orrg
+ :mailto:bernhard8.reiter at moritz.kolab.org
 SEQUENCE
  :0
 DESCRIPTION





More information about the commits mailing list