mirror of
https://github.com/etesync/android
synced 2024-11-17 05:19:12 +00:00
Fix date being sometimes incorrect in the journal item preview.
Fixes #56.
This commit is contained in:
parent
d5b4d6a722
commit
ea81696424
@ -471,7 +471,7 @@ class JournalItemActivity : BaseActivity(), Refreshable {
|
||||
// today or tomorrow, use framework formatter.
|
||||
val f = Formatter(StringBuilder(50), Locale.getDefault())
|
||||
datetimeString = DateUtils.formatDateRange(context, f, startMillis,
|
||||
endMillis, flagsDate, Time.TIMEZONE_UTC).toString()
|
||||
endMillis, flagsDate).toString()
|
||||
} else {
|
||||
// For multiday events, shorten day/month names.
|
||||
// Example format: "Fri Apr 6, 5:00pm - Sun, Apr 8, 6:00pm"
|
||||
|
Loading…
Reference in New Issue
Block a user