Skip to content

Commit fd5f999

Browse files
authored
Fix time with is string
1 parent 1a1c4f0 commit fd5f999

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lara_sdk/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _request(self, method: str, path: str, body: Dict = None, files: Dict = None
123123

124124
_headers = {
125125
'X-HTTP-Method-Override': method,
126-
'Date': datetime.datetime.now(datetime.timezone.utc).strftime('%d %m %Y %H:%M:%S +0000'),
126+
'Date': datetime.datetime.now(datetime.timezone.utc).isoformat(),
127127
'X-Lara-SDK-Name': self.sdk_name,
128128
'X-Lara-SDK-Version': self.sdk_version
129129
}

0 commit comments

Comments
 (0)