mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:31:27 +00:00
Project file removal (#569)
* Deleted project file * Add back SPM Package.resolved + .gitignore * Generate project file on release builds * Converge on single CI setup scripts within `ci_scripts/ci_common.sh` * Fix unit tests * Use new `ci_common/setup_github_actions_environment` setup script on all workflows * Move lfs validation check to the pre-commit hooks. Remove validate-lfs github actions workflow * Fix integration tests workflow * Tweaks following code review
This commit is contained in:
@@ -33,7 +33,7 @@ extension Date {
|
||||
return formatted(.dateTime.weekday(.wide))
|
||||
} else if let oneYearAgo = calendar.date(byAdding: .year, value: -1, to: .now),
|
||||
oneYearAgo <= self {
|
||||
// The day and month if it was in the last 6 days.
|
||||
// The day and month if it was in the past year
|
||||
return formatted(.dateTime.day().month())
|
||||
} else {
|
||||
// The day, month and year if it is any older.
|
||||
|
||||
Reference in New Issue
Block a user