Populate first_instance_start and last_instance_end on resource write

This commit is contained in:
Jamie McClymont committed 2019-01-03 17:48:42 +13:00
1 parent cf7de16e59
commit a2b393317d
3 files changed
+35 -7

No files matched your search

+9
View File
@@ -1287,6 +1287,15 @@ EOQRY;
}
/**
* Returns the name of the timezone for this collection, or the collection containing this resource
*/
function timezone_name() {
if ( !isset($this->collection) ) $this->FetchCollection();
return $this->collection->timezone;
}
/**
* Returns the database row for this resource
*/