Skip to content

Commit

Permalink
Merge pull request #647 from praekeltfoundation/fix-spelling
Browse files Browse the repository at this point in the history
added missing go-app
  • Loading branch information
Mudiwa66 authored Oct 30, 2024
2 parents 195381c + 545472c commit 5802e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go-app-ussd_clinic_rapidpro.js
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,10 @@ go.app = function() {
"Enter the day that baby was born as a number. For example if baby was born on 12th May, type in 12"
].join("\n"));
}
if (!date.isBetween(current_date.clone().add(-2, "years"), current_date)) {
if (!date.isBetween(current_date.clone().add(-2, "years"), current_date.add(1, "days")) ) {
return $(
"Unfortunately MomConnect doesn't send messages to children older " +
"than 2 years. Please try again by entering the dat the baby was " +
"than 2 years. Please try again by entering the day the baby was " +
"born as a number, e.g. 12."
);
}
Expand Down

0 comments on commit 5802e61

Please sign in to comment.