Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
course date fix (#476)
Browse files Browse the repository at this point in the history
* date fix

* time fix

* attempt 3
  • Loading branch information
Tschonti authored Feb 27, 2023
1 parent 4da9ecd commit eb9cafd
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 32 deletions.
3 changes: 1 addition & 2 deletions src/components/course-components/CourseCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ type Props = {
}

const getSessionString = (session: ISession): string => {
const startDate = new Date(session.startDate)

const startDate = new Date(parseInt(session.startDate))
return `${startDate.toLocaleDateString('hu', {
weekday: 'short',
month: 'short',
Expand Down
18 changes: 9 additions & 9 deletions src/content/courses/nodejs-typescript.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
title: Node.js + TypeScript 🤖
order: 300
sessions:
- startDate: 2023.03.16.
startTime: 18:00
endTime: 20:00
- startDate: 2023-03-16
startTime: '18:00'
endTime: '20:00'
place: SCH-102
- startDate: 2023.03.23.
startTime: 18:00
endTime: 20:00
- startDate: 2023-03-23
startTime: '18:00'
endTime: '20:00'
place: SCH-103
- startDate: 2023.03.30.
startTime: 18:00
endTime: 20:00
- startDate: 2023-03-30
startTime: '18:00'
endTime: '20:00'
place: SCH-103
lecturer: Fekete Sámuel
active: true
Expand Down
12 changes: 6 additions & 6 deletions src/content/courses/react-typescript.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
title: React ⚛️
order: 400
sessions:
- startDate: 2023.04.03.
startTime: 18:00
endTime: 20:00
- startDate: 2023-04-03
startTime: '18:00'
endTime: '20:00'
place: SCH-103
- startDate: 2023.04.13.
startTime: 18:00
endTime: 20:00
- startDate: 2023-04-13
startTime: '18:00'
endTime: '20:00'
place: SCH-102
lecturer: Berente Bálint
active: true
Expand Down
24 changes: 12 additions & 12 deletions src/content/courses/springboot-kotlin.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
title: Spring Boot + Kotlin 🍃
order: 500
sessions:
- startDate: 2023.03.14.
startTime: 18:00
endTime: 20:00
- startDate: 2023-03-14
startTime: '18:00'
endTime: '20:00'
place: SCH-103 és online
- startDate: 2023.03.22.
startTime: 18:00
endTime: 20:00
- startDate: 2023-03-22
startTime: '18:00'
endTime: '20:00'
place: 1320 és online
- startDate: 2023.03.28.
startTime: 18:00
endTime: 20:00
- startDate: 2023-03-28
startTime: '18:00'
endTime: '20:00'
place: 1320 és online
- startDate: 2023.04.04.
startTime: 18:00
endTime: 20:00
- startDate: 2023-04-04
startTime: '18:00'
endTime: '20:00'
place: 1320 és online
lecturer: Szabó Gergely (Schámi)
active: true
Expand Down
6 changes: 3 additions & 3 deletions src/content/courses/webes-alapozo.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Szofverfejlesztés és webes alapok 🚀
order: 100
sessions:
- startDate: 2023.03.09.
startTime: 18:00
endTime: 20:00
- startDate: 2023-03-09
startTime: '18:00'
endTime: '20:00'
place: SCH-103
lecturer: Berente Bálint, Sepsi László
active: true
Expand Down

1 comment on commit eb9cafd

@vercel
Copy link

@vercel vercel bot commented on eb9cafd Feb 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.