You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
You can set an invalid date as expiration date for sharing if you preview an image #6595
Just preview an image in gallery and try to set an expiration date while preview is open. No calendar pops up and you have no clue which format for the date is expected as input. This happens with latest version of NextCloud.
If you set an expiration date outside of the preview, you can't see what's set as expiration date in preview mode.
{
"reqId":"<removed>",
"level":3,
"time":"<removed>",
"remoteAddr":"<removed>",
"user":"<removed>",
"app":"PHP",
"method":"PUT",
"url":"\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares\/1?format=json",
"message":"DateTime::__construct(): Failed to parse time string (01012017) at position 7 (7): Unexpected character at \/var\/www\/nextcloud\/apps\/files_sharing\/lib\/Controller\/ShareAPIController.php#862",
"userAgent":"<removed>",
"version":"12.0.3.3"
}
Activity
GiantCrocodile commentedon Sep 20, 2017
Related error to this:
{ "reqId":"<removed>", "level":3, "time":"<removed>", "remoteAddr":"<removed>", "user":"<removed>", "app":"PHP", "method":"PUT", "url":"\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares\/1?format=json", "message":"DateTime::__construct(): Failed to parse time string (01012017) at position 7 (7): Unexpected character at \/var\/www\/nextcloud\/apps\/files_sharing\/lib\/Controller\/ShareAPIController.php#862", "userAgent":"<removed>", "version":"12.0.3.3" }blizzz commentedon Sep 25, 2017
Duplicate of nextcloud/gallery#313 (anyway belongs to Gallery repo)