Skip to content

Commit 6857c02

Browse files
committed
reverting back to showing timestamp as is but within double quotes
1 parent 4f968ed commit 6857c02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

minds/minds.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ def __init__(
3333
parameters = {}
3434
self.prompt_template = parameters.pop('prompt_template', None)
3535
self.parameters = parameters
36-
self.created_at = datetime.strptime(created_at, "%a, %d %b %Y %H:%M:%S %Z").strftime("%Y-%m-%dT%H:%M:%S")
37-
self.updated_at = datetime.strptime(updated_at, "%a, %d %b %Y %H:%M:%S %Z").strftime("%Y-%m-%dT%H:%M:%S")
36+
self.created_at = created_at
37+
self.updated_at = updated_at
3838

3939
self.datasources = datasources
4040

4141
def __repr__(self):
4242
return (f'Mind(name={self.name}, '
4343
f'model_name={self.model_name}, '
4444
f'provider={self.provider}, '
45-
f'created_at={self.created_at}, '
46-
f'updated_at={self.updated_at}, '
45+
f'created_at="{self.created_at}", '
46+
f'updated_at="{self.updated_at}", '
4747
f'parameters={self.parameters}, '
4848
f'datasources={self.datasources})')
4949

0 commit comments

Comments
 (0)