Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14077132
D16813.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
417 B
Referenced Files
None
Subscribers
None
D16813.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16813: When converting an absolute datetime to an absolute datetime, just clone it
Attached
Detach File
Event Timeline
Log In to Comment