Use clearer relative dates
ClosedPublic

Authored by ngraham on Dec 11 2019, 11:08 AM.

Details

Summary

Right now relative dated within +/- one week use "last/next <day>" which is inherently
ambiguous in English. This patch changes it to use clearer terminology: dates three days
older or in the future use the normal absolute date style. Otherwise, it says "today",
"yesterday/tomorrow", or "two days ago/in two days".

Closes T12349

Test Plan

Diff Detail

Repository
R244 KCoreAddons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ngraham created this revision.Dec 11 2019, 11:08 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 11 2019, 11:08 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
ngraham requested review of this revision.Dec 11 2019, 11:08 AM

Not a fan of Mathematics there. "Five days ago" I first have to open my calendar and count what day that was.

I was on the fence about that too. We could move to absolute dates after three days, maybe.

Yeah i think yesterday and tomorrow is fine but everything beyond that becomes more annoying than helpful

So no "in two days"/"two days ago"? That's too confusing?

ngraham updated this revision to Diff 71276.Dec 11 2019, 2:51 PM

Don't use relative dates farther than three days back

ngraham edited the summary of this revision. (Show Details)Dec 11 2019, 2:53 PM
ngraham edited the test plan for this revision. (Show Details)
ndavis accepted this revision.Thu, Dec 19, 8:03 PM
This revision is now accepted and ready to land.Thu, Dec 19, 8:03 PM
This revision was automatically updated to reflect the committed changes.