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

Hard-coded date/time format and timezone. #170

Open
andlju opened this issue Sep 19, 2022 · 0 comments
Open

Hard-coded date/time format and timezone. #170

andlju opened this issue Sep 19, 2022 · 0 comments

Comments

@andlju
Copy link
Contributor

andlju commented Sep 19, 2022

On these lines we hard-code the date/time format for the Swetugg Now API. We had to do this because the default format didn't work on some mobile phones. However, we also now hard-code the timezone. This is obviously not optimal....

https://github.com/Swetugg/swetugg-web/blob/a863bc9d3672a05d22a6cbad93badcbbc2d77937/src/Swetugg.Web/Controllers/ScheduleApiController.cs#L98-L99

https://github.com/Swetugg/swetugg-web/blob/a863bc9d3672a05d22a6cbad93badcbbc2d77937/src/Swetugg.Web/Controllers/ScheduleApiController.cs#L107-L108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants