diff --git a/src/content/events/2024-10-21_HandsOn-FAIR-RDM.md b/src/content/events/2024-10-21_HandsOn-FAIR-RDM.md index e4175a36..08be04d7 100644 --- a/src/content/events/2024-10-21_HandsOn-FAIR-RDM.md +++ b/src/content/events/2024-10-21_HandsOn-FAIR-RDM.md @@ -4,8 +4,8 @@ title: Hands-on Workshop on FAIR Data Management Using ARCs category: Training description: "The workshop covers the fundamentals of research data management and the principles of FAIR data." when: - start: 2024-10-21T09:30:00 - end: 2024-10-23T15:00:00 + start: 2024-10-21T09:00:00 + end: 2024-10-23T16:00:00 mode: OnlineEventAttendanceMode tutors: - Bianca Laker diff --git a/src/util/EventUtil.ts b/src/util/EventUtil.ts index 3d577d9d..a24efb20 100644 --- a/src/util/EventUtil.ts +++ b/src/util/EventUtil.ts @@ -15,7 +15,7 @@ export function getHumanReadableAttendanceMode(mode: 'OfflineEventAttendanceMode } } -export const formatterDate = new Intl.DateTimeFormat('de-DE', { timeZone: 'Europe/Berlin', day: "2-digit", month: "2-digit", year: "numeric"}); +export const formatterDate = new Intl.DateTimeFormat('de-DE', { timeZone: 'UTC', day: "2-digit", month: "2-digit", year: "numeric"}); export function formatDateToHref(date: Date): string { return formatterDate .formatToParts(date) @@ -29,7 +29,7 @@ export function formatDateToHref(date: Date): string { } // const formatterDate = new Intl.DateTimeFormat('en-US', { day: '2-digit', month: '2-digit', year: 'numeric' }); -export const formatterTime = new Intl.DateTimeFormat('de-DE', { timeZone: 'Europe/Berlin', hour: '2-digit', minute: '2-digit' }); +export const formatterTime = new Intl.DateTimeFormat('de-DE', { timeZone: 'UTC', hour: '2-digit', minute: '2-digit' }); // Extend the type by adding the `periodic` flag export type ReducedEvent = CollectionEntry<'events'> & {