Post

Replies

Boosts

Views

Activity

Reply to Get the word "Month", "Day", "Week" localized
Just add 3 days to timeInterval if the unit is month to accommodate varying month lengths. var timeInterval = sinceUnits.timeIntervalSince(date) if unit == .month { timeInterval = timeInterval.advanced(by: .days(3)) }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’23