We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c94013 + 21d5f8e commit 6dd36b6Copy full SHA for 6dd36b6
packages/core/lib/utils/http_client.dart
@@ -38,7 +38,7 @@ class HTTPClient {
38
var urlRequest = _configuredRequest(uploadURL, "POST",
39
body: jsonEncode({
40
"batch": batch.map((e) => e.toJson()).toList(),
41
- "sentAt": DateTime.now().toIso8601String(),
+ "sentAt": DateTime.now().toUtc().toIso8601String(),
42
"writeKey": _analytics.target!.state.configuration.state.writeKey,
43
}));
44
var f = urlRequest.send().then(http.Response.fromStream);
0 commit comments