Page MenuHomePhabricator

Continue reading card shows "3 days ago" subtitle even though I just looked at the article.
Closed, ResolvedPublic

Description

Joe had mentioned it may be comparing todays date to the date the continue reading card was first added rather than the date the article was last read...

Screen Shot 2016-09-22 at 1.16.25 PM.png (1×862 px, 363 KB)

@JMinor said ok to throw this in ready for dev.

Event Timeline

For Testing

  • Load any article, making note of the name of the article
  • Close the app and re-open it at least 24 hours later
  • A "Continue reading" card should appear at the top of the Explore feed for the name of the article you loaded in step one
  • Just below the "Continue reading" title on the card should be a sub-title which says approximately how long ago you last viewed the article. For example, if you last viewed the article a little over a day ago the sub-title should say "24 hours ago" or "A day ago". It's ok if it says "2 days ago", or some other number of days, if that's how long it has been since you last viewed the article.
  • Keep in mind this "Continue reading" card will only appear in the Explore feed if you closed the app at least 24 hours ago.

Testing on iPad Air 2 (iOS 10.0.1) and Wikipedia build 5.3.0 (953). I had started this test at the same time as other iOS-app-v5.3.0-Welsh-Dragon cases (9/27/16), and left the app open, it says "40 hours ago" which might be okay. Here's the screencap below.

40 hours ago.PNG (2×1 px, 6 MB)