Date format
#148
Replies: 2 comments
-
Note that although the date format gets changed, the time format does not get changed to the US 12-hour am/pm format, and remains in 24h format. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For now I just resolved it by converting it to a datetime object and then converting that to a string. date = datetime.datetime.strptime(since, '%Y-%m-%dT%H:%M:%S')
section.addFact("Since:", str(date)) With this it gets rendered as "2023-08-18 09:15:10" which is fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my code I am passing a date using the addFact method e.g.:
The variable will contain a string such as "2023-08-18T09:15:10". This gets rendered by teams as "08/18/2023 09:15:10" in American MM/DD/YYYY format. Is there any way to change this to a European or ISO date format?
It is not a local teams rendering issue, different people using different operating systems and locales are seeing it rendered the same way.
Beta Was this translation helpful? Give feedback.
All reactions