Page MenuHomePhabricator

D16813.diff
No OneTemporary

D16813.diff

diff --git a/src/parser/calendar/data/PhutilCalendarAbsoluteDateTime.php b/src/parser/calendar/data/PhutilCalendarAbsoluteDateTime.php
--- a/src/parser/calendar/data/PhutilCalendarAbsoluteDateTime.php
+++ b/src/parser/calendar/data/PhutilCalendarAbsoluteDateTime.php
@@ -267,4 +267,9 @@
return new DateTime($format, $zone);
}
+
+ public function newAbsoluteDateTime() {
+ return clone $this;
+ }
+
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 9:38 PM (13 h, 46 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6776032
Default Alt Text
D16813.diff (417 B)

Event Timeline