mastodon-ios
mastodon-ios copied to clipboard
Relative dates aren’t used in iOS
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
Wrong repository → https://github.com/mastodon/mastodon-ios