Skip to content

Commit

Permalink
Merge branch 'main' into dependency_updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjaintwilio authored Oct 18, 2024
2 parents 38639f4 + 6dd36b6 commit c8583ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/lib/utils/http_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class HTTPClient {
var urlRequest = _configuredRequest(uploadURL, "POST",
body: jsonEncode({
"batch": batch.map((e) => e.toJson()).toList(),
"sentAt": DateTime.now().toIso8601String(),
"sentAt": DateTime.now().toUtc().toIso8601String(),
"writeKey": _analytics.target!.state.configuration.state.writeKey,
}));
var f = urlRequest.send().then(http.Response.fromStream);
Expand Down

0 comments on commit c8583ef

Please sign in to comment.