mirror of
https://github.com/bitwarden/android.git
synced 2026-05-30 00:18:11 -05:00
Add getter for Timezone to avoid race condition in tests (#376)
This commit is contained in:
committed by
Álison Fernandes
parent
df71aa573a
commit
cc48e63e89
@@ -14,9 +14,10 @@ import com.x8bit.bitwarden.ui.vault.feature.vault.VaultState
|
||||
import java.time.format.DateTimeFormatter
|
||||
import java.util.TimeZone
|
||||
|
||||
private val dateTimeFormatter = DateTimeFormatter
|
||||
.ofPattern("M/d/yy hh:mm a")
|
||||
.withZone(TimeZone.getDefault().toZoneId())
|
||||
private val dateTimeFormatter
|
||||
get() = DateTimeFormatter
|
||||
.ofPattern("M/d/yy hh:mm a")
|
||||
.withZone(TimeZone.getDefault().toZoneId())
|
||||
|
||||
/**
|
||||
* Transforms [VaultData] into [VaultState.ViewState].
|
||||
|
||||
Reference in New Issue
Block a user