-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix for entries between 12.00 and 12.59 #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense, I will merge it and test it further.
I still want to do something for phones in AM/PM mode but looking at the existing code this isn't supported at the moment so there is no reason to delay this fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will merge
* include bluereader basis * include bluereader basis * include bluereader basis * Repair Speak trend, and add translation (initial en/de) * Add Bridge_battery upload Nightscout toright bridge name * correct typo double down * correct minor differeces to master origin * correct wrong import class * Correct Spacing and lining changes to be in sync with origin * Correct speak bug (switch from mol to everytime) Include Translation for trend Include translation for Speak settings * Correct speak bug (switch from mol to everytime) Include Translation for trend Include translation for Speak settings * Translation Croatian v1.0 * Update locales.xml * Follower and MDNS fixes * isCollecting() proguard exclusion * WebServices: Add status.json endpoint and sgv brief mode * BluetoothScan: Concurrent modification race condition fix * ActivityRecognizedService: concurrency fix * Add code to receive more data and close the gaps. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Use existing code to close per 5 minutes gaps. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Multiply the "raw data" by 1000 and devide it by Constants.LIBRE_MULTIPLIER to make it feet the normal behavior. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Simple fill the 10 minutes gap, by adding the last point to the interpolation graph. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Receive an array of results instead of one result only. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Disable external_blukon_algorithm to allow more testing. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * undo unneeded changes * LicenseAgreementActivity: fix null pointer exception * ImportDatabaseActivity: fix null pointer exception * Nightscout: Extra de-duplication and activity endpoint initial support * WebServices: sgv endpoint add count= parameter
* include bluereader basis * include bluereader basis * include bluereader basis * Repair Speak trend, and add translation (initial en/de) * Add Bridge_battery upload Nightscout toright bridge name * correct typo double down * correct minor differeces to master origin * correct wrong import class * Correct Spacing and lining changes to be in sync with origin * Correct speak bug (switch from mol to everytime) Include Translation for trend Include translation for Speak settings * Correct speak bug (switch from mol to everytime) Include Translation for trend Include translation for Speak settings * Translation Croatian v1.0 * Update locales.xml * Follower and MDNS fixes * isCollecting() proguard exclusion * WebServices: Add status.json endpoint and sgv brief mode * BluetoothScan: Concurrent modification race condition fix * ActivityRecognizedService: concurrency fix * Add code to receive more data and close the gaps. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Use existing code to close per 5 minutes gaps. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Multiply the "raw data" by 1000 and devide it by Constants.LIBRE_MULTIPLIER to make it feet the normal behavior. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Simple fill the 10 minutes gap, by adding the last point to the interpolation graph. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Receive an array of results instead of one result only. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * Disable external_blukon_algorithm to allow more testing. Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com> * undo unneeded changes * LicenseAgreementActivity: fix null pointer exception * ImportDatabaseActivity: fix null pointer exception * Nightscout: Extra de-duplication and activity endpoint initial support * WebServices: sgv endpoint add count= parameter
Treatments with time between 12.00 and 12.59 were mapped to the hour after midnight - as well as 00.01 to 00.59.
According to http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
hh
represents the hours in 1-12 hour format andHH
in 0-23 hour format.