Skip to content

Commit 481653e

Browse files
committed
Do not localize datetime in the API
Signed-off-by: Keshav Priyadarshi <[email protected]>
1 parent 7a663dc commit 481653e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vulnerablecode/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@
236236
"PAGE_SIZE": 10,
237237
# for API docs
238238
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
239+
"DATETIME_FORMAT": "%Y-%m-%dT%H:%M:%SZ",
239240
}
240241

241242
api_doc_intro = """

0 commit comments

Comments
 (0)