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

Bugfix for take pill #654

Merged
merged 3 commits into from
Jul 24, 2022
Merged

Bugfix for take pill #654

merged 3 commits into from
Jul 24, 2022

Conversation

bannzai
Copy link
Owner

@bannzai bannzai commented Jul 24, 2022

Abstract

ユーザーの問い合わせで服用記録ができないということ。
調べてみるとtakenDate.isBefore(beginDate)の条件で早期リターンとなっていたが、これはbeginDateが時刻を含んで保存されているので、takenDateの時刻によっては意図せぬ条件が合致してしまうことに。なのでどちらも日付に変換して比較することにした

Why

Links

Checked

  • Analyticsのログを入れたか
  • Navigator.of(context).pop() の後にContextを使用したメソッドを実行していない
  • 境界値に対してのUnitTestを書いた
  • パターン分岐が発生するWidgetに対してWidgetTestを書いた
  • リリースノートを追加した

@bannzai bannzai merged commit 5ac17ad into main Jul 24, 2022
@bannzai bannzai deleted the bugfix/function/take_pill branch July 24, 2022 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant