Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meeting start/end time to string #198

Merged
merged 2 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/schema/objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ type Meeting struct {
Start_date time.Time `bson:"start_date" json:"start_date"`
End_date time.Time `bson:"end_date" json:"end_date"`
Meeting_days []string `bson:"meeting_days" json:"meeting_days"`
Start_time time.Time `bson:"start_time" json:"start_time"`
End_time time.Time `bson:"end_time" json:"end_time"`
Start_time string `bson:"start_time" json:"start_time"`
End_time string `bson:"end_time" json:"end_time"`
Modality string `bson:"modality" json:"modality"`
Location Location `bson:"location" json:"location"`
}
Expand Down
8 changes: 4 additions & 4 deletions docs/schemas/meeting.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ Meeting = {
>
> **Type**: string
>
> The time the meeting starts on each meeting day.
> The time the meeting starts on each meeting day. The timezone is the same as UTD (CST/CDT).
>
> **Example**: `0000-01-01T16:00:00-05:50`
> **Example**: `7:00pm`

> `.end_time`
>
> **Type**: string
>
> The time a meeting ends on each meeting day.
> The time a meeting ends on each meeting day. The timezone is the same as UTD (CST/CDT).
>
> **Example**: `0000-01-01T17:15:00-05:50`
> **Example**: `9:45pm`

> `.modality`
>
Expand Down