Update to latest RSCore

This commit is contained in:
Nate Weaver
2020-01-11 17:19:32 -06:00
parent 685e569387
commit e94985e7f2
5 changed files with 6 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ struct ArticleStringFormatter {
}
static func dateString(_ date: Date) -> String {
if NSCalendar.rs_dateIsToday(date) {
if Calendar.dateIsToday(date) {
return timeFormatter.string(from: date)
}
return dateFormatter.string(from: date)