Skip to content

Rename "Schedule for later" to "Adjust meal time" - #834

Open
bjorkert wants to merge 2 commits into
devfrom
feature/adjust-meal-time
Open

bjorkert wants to merge 2 commits into
devfrom
feature/adjust-meal-time

Conversation

@bjorkert

Copy link
Copy Markdown
Member

The meal time setting in the Trio remote Meal screen works for both past and future times, so the toggle is now called "Adjust meal time" under a "Meal Time" heading, and the bolus note is reworded to match.

The meal time setting in the Trio remote Meal screen works for both past and future times, so the toggle is now called "Adjust meal time" under a "Meal Time" heading, and the bolus note is reworded to match.
…the date in the confirmation when it is not today
@bjorkert

Copy link
Copy Markdown
Member Author

Fixed the date finding in d6d9ba1. The picked time is now dated to its occurrence closest to now, at most 12 hours before or after, so 23:50 picked at 00:10 is yesterday evening and 00:10 picked at 23:50 is tomorrow. The confirmation shows the date when it is not today. Tests for those cases and for an hour ahead and back are in MealTimeTests.

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

Successfully merging this pull request may close these issues.

1 participant