We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20275f5 + 84b0818 commit 896c115Copy full SHA for 896c115
apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -648,8 +648,8 @@ public function createShare(
648
//Expire date
649
if ($expireDate !== '') {
650
try {
651
- $expireDate = $this->parseDate($expireDate);
652
- $share->setExpirationDate($expireDate);
+ $expireDateTime = $this->parseDate($expireDate);
+ $share->setExpirationDate($expireDateTime);
653
} catch (\Exception $e) {
654
throw new OCSNotFoundException($this->l->t('Invalid date, date format must be YYYY-MM-DD'));
655
}
0 commit comments