someoneAnyone / Nightscouter

An Native iOS app for displaying Nightscout website data.
MIT License
19 stars 25 forks source link

When user's device is set to a language other than "EN" the chart might not display. #40

Closed someoneAnyone closed 8 years ago

someoneAnyone commented 8 years ago

The D3 chart being used at the moment only understands english "EN" formatted time date stamps. In Nightscouter/NightscouterKit/Models/Entry.swift

The app was creating timestamps based on the current location. I need to add the following line of code.

nsDateFormatter.locale = NSLocale(localeIdentifier: "EN")
someoneAnyone commented 8 years ago

WIP for dealing with this bug, https://github.com/someoneAnyone/Nightscouter/tree/issue40

someoneAnyone commented 8 years ago

Closed in https://github.com/someoneAnyone/Nightscouter/pull/43