projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb7c489
)
* Attach an icaltimezone pointer to any icaltimetype value
author
Art Cancro
<ajc@citadel.org>
Tue, 2 Dec 2008 21:38:52 +0000
(21:38 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 2 Dec 2008 21:38:52 +0000
(21:38 +0000)
converted by icaltime_from_webform(). This will later
be detected so we can attach time zone data.
webcit/calendar_tools.c
patch
|
blob
|
history
diff --git
a/webcit/calendar_tools.c
b/webcit/calendar_tools.c
index c8ed2c269a6a31e110a0f9b56586d808b3a7e9bd..3dae5300121a60f078fe74c9ae8a55e6f30bf973 100644
(file)
--- a/
webcit/calendar_tools.c
+++ b/
webcit/calendar_tools.c
@@
-141,7
+141,7
@@
void icaltime_from_webform(struct icaltimetype *t, char *prefix) {
/* now convert to icaltimetyepe */
t2 = icaltime_from_timet_with_zone(mktime(&tm), 0, get_default_icaltimezone());
-
lprintf(9, "CONVERTEDZ0R... %s\n", icaltime_as_ical_string(t2)
);
+
t2.zone = get_default_icaltimezone(
);
memcpy(t, &t2, sizeof(struct icaltimetype));
}