mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-21 02:46:30 +08:00
some info style
This commit is contained in:
@@ -9,7 +9,7 @@ object Utils {
|
||||
return SimpleDateFormat(format, Locale.CHINA).format(Date())
|
||||
}
|
||||
|
||||
fun getDateTimestamp(): Int {
|
||||
return (Date().time / 1000).toInt()
|
||||
fun getDateTimestamp(): Long {
|
||||
return Date().time / 1000
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user