diff options
author | zotlabs <mike@macgirvin.com> | 2019-04-25 21:49:18 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-04-25 21:49:18 -0700 |
commit | e6521d1cf3166a888ad58b09059d9dc5746ad795 (patch) | |
tree | 6ab3e41d888f18b2dcad351f86c3ed0628eda307 /vendor/sabre/vobject/lib/Property/VCard/Date.php | |
parent | 96785e8df1b325a32c93ebebf67ab5208f4088dc (diff) | |
parent | d689778465c0439d0ceae071dab2509e3f95403e (diff) | |
download | volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.gz volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.bz2 volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'vendor/sabre/vobject/lib/Property/VCard/Date.php')
-rw-r--r-- | vendor/sabre/vobject/lib/Property/VCard/Date.php | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/vendor/sabre/vobject/lib/Property/VCard/Date.php b/vendor/sabre/vobject/lib/Property/VCard/Date.php index 1ef6dff34..a018ccbb8 100644 --- a/vendor/sabre/vobject/lib/Property/VCard/Date.php +++ b/vendor/sabre/vobject/lib/Property/VCard/Date.php @@ -11,8 +11,8 @@ namespace Sabre\VObject\Property\VCard; * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ -class Date extends DateAndOrTime { - +class Date extends DateAndOrTime +{ /** * Returns the type of value. * @@ -21,23 +21,18 @@ class Date extends DateAndOrTime { * * @return string */ - function getValueType() { - + public function getValueType() + { return 'DATE'; - } /** * Sets the property as a DateTime object. * * @param \DateTimeInterface $dt - * - * @return void */ - function setDateTime(\DateTimeInterface $dt) { - + public function setDateTime(\DateTimeInterface $dt) + { $this->value = $dt->format('Ymd'); - } - } |