vectorlit / UnofficialGenconMobile

Code for Unofficial Gen Con Mobile application - Xamarin version.
GNU General Public License v3.0
3 stars 3 forks source link

Bug: Norwegian language causes application to not load #14

Closed vectorlit closed 5 years ago

vectorlit commented 5 years ago

This is a straight up bug: when using the Norwegian language, the application doesn't load properly. I "fixed" this last year but evidently failed to actually fix the problem. The issue is the datetime format:

When fetching the URL to download events, somewhere in the code, the datetime that goes into the URL (the .ToString() call, whether explicit or implicitly called) combined with the Norwegian language causes the URL to not be recognized by the server. The DateTime should look like the ISO standard: 2019-01-01T00:00:00 but for whatever reason has some other format/special characters.

You can test this by setting the system language on the virtual device to Norwegian/Norway/Norsk and clearing data on the app. Restart the app and you'll notice it just sits there and does nothing.

Edit: please send https://www.facebook.com/jonroar.selenius Jon-Roar Selenius a message letting him know this bug has been fixed when completed.

vectorlit commented 5 years ago

Resolved by https://github.com/vectorlit/UnofficialGenconMobile/commit/45ca3623536d8b6325aa3f765185810b737a7b3f