forked from penguin86/luna-tracker
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			a90f939428
			...
			master
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7f67c758c9 | |||
| dfa64d71a8 | |||
| b7180068f3 | 
@@ -114,7 +114,7 @@ class DateUtils {
 | 
			
		||||
        fun formatDateTime(unixTime: Long): String {
 | 
			
		||||
            val date = Date(unixTime * 1000)
 | 
			
		||||
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
 | 
			
		||||
                val dateFormat = android.icu.text.DateFormat.getDateTimeInstance(android.icu.text.DateFormat.RELATIVE_SHORT, android.icu.text.DateFormat.SHORT)
 | 
			
		||||
                val dateFormat = android.icu.text.DateFormat.getDateTimeInstance(android.icu.text.DateFormat.DEFAULT, android.icu.text.DateFormat.SHORT)
 | 
			
		||||
                return dateFormat.format(date)
 | 
			
		||||
            } else {
 | 
			
		||||
                // fallback
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,9 @@
 | 
			
		||||
    android:orientation="vertical"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:padding="20dp">
 | 
			
		||||
    android:paddingTop="20dp"
 | 
			
		||||
    android:paddingBottom="10dp"
 | 
			
		||||
    android:paddingHorizontal="20dp">
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/dialog_event_detail_type_emoji"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user