Skip to content

Commit

Permalink
Correct timestamp units
Browse files Browse the repository at this point in the history
  • Loading branch information
mscwilson committed May 9, 2024
1 parent 07536ea commit f2cb6be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class InstallReferrerDetails(
"iglu:com.android.installreferrer.api/referrer_details/jsonschema/1-0-0",
mapOf(
"installReferrer" to installReferrer,
"referrerClickTimestamp" to if (referrerClickTimestamp > 0) { Util.getDateTimeFromTimestamp(referrerClickTimestamp) } else { null },
"installBeginTimestamp" to if (installBeginTimestamp > 0) { Util.getDateTimeFromTimestamp(installBeginTimestamp) } else { null },
"referrerClickTimestamp" to if (referrerClickTimestamp > 0) { Util.getDateTimeFromTimestamp(referrerClickTimestamp * 1000) } else { null },
"installBeginTimestamp" to if (installBeginTimestamp > 0) { Util.getDateTimeFromTimestamp(installBeginTimestamp * 1000) } else { null },
"googlePlayInstantParam" to googlePlayInstantParam,
)
) {
Expand Down

0 comments on commit f2cb6be

Please sign in to comment.