mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 04:09:15 +02:00
feat:#5 added free rooms api endpoint
This commit is contained in:
7
backend/service/functions/time/parse.go
Normal file
7
backend/service/functions/time/parse.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package time
|
||||
|
||||
import "time"
|
||||
|
||||
func ParseTime(timeString string) (time.Time, error) {
|
||||
return time.Parse("2006-01-02T15:04:05Z", timeString)
|
||||
}
|
Reference in New Issue
Block a user