mastodon-ios icon indicating copy to clipboard operation
mastodon-ios copied to clipboard

Relative dates aren’t used in iOS

Open Scenario opened this issue 2 years ago • 1 comments

Steps to reproduce the problem

Look at any timestamp on a post from today or yesterday.

Expected behaviour

Today at 11:55 AM

Actual behaviour

12/13/22, 11:55 AM

Detailed description

It is best practice on iOS to use relative dates when formatting timestamps. This is a simple option on the DateFormatter. This produces (and localizes) “Today” and “Yesterday” prefixes when appropriate.

Specifications

Latest iOS

Scenario avatar Dec 13 '22 21:12 Scenario

Wrong repository → https://github.com/mastodon/mastodon-ios

Der-K-2000 avatar Dec 13 '22 21:12 Der-K-2000