aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-16 03:28:33 -0800
committerfriendica <info@friendica.com>2013-01-16 03:28:33 -0800
commite07364981087cedebc804d8b59ee50d630c1a67b (patch)
tree6bb96ca6e9001e0a8f508368d737662139e8ac4b /mod/events.php
parentaf066d7383edfc9c47ceb64076ec38efd6f39edb (diff)
downloadvolse-hubzilla-e07364981087cedebc804d8b59ee50d630c1a67b.tar.gz
volse-hubzilla-e07364981087cedebc804d8b59ee50d630c1a67b.tar.bz2
volse-hubzilla-e07364981087cedebc804d8b59ee50d630c1a67b.zip
documenting event-finish-date-crosses-month-boundary issue to come back to later
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/events.php b/mod/events.php
index 975278618..f18f40cc7 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -237,6 +237,12 @@ function events_content(&$a) {
);
} else {
+ // fixed an issue with "nofinish" events not showing up in the calendar.
+ // There's still an issue if the finish date crosses the end of month.
+ // Noting this for now - it will need to be fixed here and in Friendica.
+ // Ultimately the finish date shouldn't be involved in the query.
+
+
$r = q("SELECT * from event left join item on event_hash = resource_id
where resource_type = 'event' and event.uid = %d and event.ignore = %d
AND (( `adjust` = 0 AND ( `finish` >= '%s' or nofinish ) AND `start` <= '%s' )