<table><tr><td style="">guoyunhe updated this revision to Diff 63300.<br />guoyunhe edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-p4s6fntvqz6i7l2/">(Show Details)</a><br />guoyunhe added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22925">View Revision</a></tr></table><br /><div><div><p>Fix CacheProvider's cache validation function</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>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.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D22925?vs=63061&id=63300">https://phabricator.kde.org/D22925?vs=63061&id=63300</a></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22925">https://phabricator.kde.org/D22925</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>dataengines/potd/cachedprovider.cpp<br />
dataengines/potd/potd.cpp</div></div></div><br /><div><strong>To: </strong>guoyunhe, Plasma<br /><strong>Cc: </strong>ngraham, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>