TF-2871 Handle click notification to open detailed email on iOS
This commit is contained in:
@@ -11,4 +11,8 @@ extension Date {
|
||||
dateFormatter.locale = Locale(identifier: CoreUtils.EN_US_POSIX_LOCALE)
|
||||
return dateFormatter.string(from: self)
|
||||
}
|
||||
|
||||
func adding(seconds: Int) -> Date {
|
||||
return self.addingTimeInterval(TimeInterval(seconds))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
import Foundation
|
||||
|
||||
extension Int {
|
||||
func convertMillisecondsToDate() -> Date {
|
||||
return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
|
||||
}
|
||||
|
||||
func convertMillisecondsToISO8601String() -> String {
|
||||
return convertMillisecondsToDate().convertDateToISO8601String()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user