Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Change dateNowUTC() to dateNowLocal() because dateNowUTC() giving wro…
Browse files Browse the repository at this point in the history
…ng current date (#3351)
  • Loading branch information
mahmoodharis88 authored Jul 18, 2024
1 parent 1a46521 commit 1995b36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import androidx.compose.ui.unit.dp
import com.ivy.design.l0_system.UI
import com.ivy.design.l0_system.style
import com.ivy.legacy.IvyWalletComponentPreview
import com.ivy.legacy.utils.dateNowLocal
import com.ivy.legacy.utils.dateNowUTC
import com.ivy.legacy.utils.format
import com.ivy.legacy.utils.formatLocal
Expand All @@ -44,7 +45,7 @@ fun HistoryDateDivider(
) {
Spacer(Modifier.width(24.dp))

val today = dateNowUTC()
val today = dateNowLocal()

Column {
Text(
Expand Down

0 comments on commit 1995b36

Please sign in to comment.