Skip to content

Commit

Permalink
Merge pull request #180 from stytchauth/jordan/fix-telemetry-date
Browse files Browse the repository at this point in the history
Fix timestamp for clientSentAt
  • Loading branch information
jhaven-stytch authored Jul 12, 2024
2 parents 1a2e7ee + 1b76afd commit 76c3994
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {

ext {
PUBLISH_GROUP_ID = 'com.stytch.sdk'
PUBLISH_VERSION = '0.24.0'
PUBLISH_VERSION = '0.25.0'
PUBLISH_ARTIFACT_ID = 'sdk'
}

Expand Down
3 changes: 2 additions & 1 deletion sdk/src/main/java/com/stytch/sdk/common/utils/DateHelpers.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.stytch.sdk.common.utils

import java.text.SimpleDateFormat
import java.util.Locale

// Format a date as ISO-8601, using the appropriate date and time patterns. See: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
internal val ISO_DATE_FORMATTER = SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS")
internal val ISO_DATE_FORMATTER = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.US)

0 comments on commit 76c3994

Please sign in to comment.