diff --git a/src/components/ParticipationDataList.vue b/src/components/ParticipationDataList.vue index ce4fead..73644da 100644 --- a/src/components/ParticipationDataList.vue +++ b/src/components/ParticipationDataList.vue @@ -337,7 +337,7 @@ Licensed under the Elastic License 2.0. */ } function isValidDateTimeFormat(dateTimeString: string): boolean { - const regex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}\+\d{4}$/; + const regex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d+)?)?[+-]\d{4}$/; return regex.test(dateTimeString); }