mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
New CA certificates manager
This commit is contained in:
@@ -87,6 +87,9 @@ fun parseTimestamp(timestamp: Long): String {
|
||||
return formatter.format(instant)
|
||||
}
|
||||
|
||||
fun parseDate(date: Date)
|
||||
= SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.getDefault()).format(date)
|
||||
|
||||
val Long.humanReadableDate: String
|
||||
get() = SimpleDateFormat("yyyy/MM/dd", Locale.getDefault()).format(Date(this))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user