Mercurial > public > sg101
comparison gcalendar/calendar.py @ 941:4dc6a452afd3
Fixed comment that referred to gdata.
We no longer use gdata.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 30 Apr 2015 20:19:05 -0500 |
parents | 9165edfb1709 |
children | 5ba2508939f7 |
comparison
equal
deleted
inserted
replaced
940:0cff6acf7d61 | 941:4dc6a452afd3 |
---|---|
117 event['end'] = end | 117 event['end'] = end |
118 return event | 118 return event |
119 | 119 |
120 def _make_time(self, date, time=None, tz_name=None): | 120 def _make_time(self, date, time=None, tz_name=None): |
121 """ | 121 """ |
122 Returns the gdata formatted date/time string given a date, optional time, | 122 Returns the formatted date/time string given a date, optional time, and |
123 and optional time zone name (e.g. 'US/Pacific'). If the time zone name is None, | 123 optional time zone name (e.g. 'US/Pacific'). If the time zone name is |
124 no time zone info will be added to the string. | 124 None, no time zone info will be added to the string. |
125 """ | 125 """ |
126 | 126 |
127 if time: | 127 if time: |
128 d = datetime.datetime.combine(date, time) | 128 d = datetime.datetime.combine(date, time) |
129 else: | 129 else: |