Fix Unsplash POTD not updating

Authored by Guo Yunhe <i@guoyunhe.me> on Aug 4 2019, 12:47 PM.

Description

Fix Unsplash POTD not updating

Summary:
The bug only affect Unsplash POTD provider. If you choose Unsplash POTD, the wallpaper won't update daily.

Previous patch for Unsplash Wallpapers changed the identifier format, for example, unsplash:123456 is not a fixed date identifier. So we can not simply detect whether an identifier contains date by looking for :. This patch detect date string with regular expression.

Reviewers: Plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D22925

Details

Committed
Guo Yunhe <i@guoyunhe.me>Aug 9 2019, 2:59 PM
Reviewer
ngraham
Differential Revision
D22925: Fix Unsplash POTD not updating
Parents
R114:ee2745964281: Merge branch 'Plasma/5.16'
Branches
Unknown
Tags
Unknown
Guo Yunhe <i@guoyunhe.me> committed R114:2e0ddd4cb3d1: Fix Unsplash POTD not updating (authored by Guo Yunhe <i@guoyunhe.me>).Aug 9 2019, 2:59 PM