diff --git a/opensrp-immunization/src/main/java/org/smartregister/immunization/util/VaccinatorUtils.java b/opensrp-immunization/src/main/java/org/smartregister/immunization/util/VaccinatorUtils.java index f8214fec..736a0b94 100644 --- a/opensrp-immunization/src/main/java/org/smartregister/immunization/util/VaccinatorUtils.java +++ b/opensrp-immunization/src/main/java/org/smartregister/immunization/util/VaccinatorUtils.java @@ -1137,6 +1137,8 @@ public static DateTime processConfigDateTimeOffset(DateTime afterOffset, String String fieldString = m2.group(2); if ("d".endsWith(fieldString)) { afterOffset = afterOffset.plusDays(curValue); + } else if ("w".endsWith(fieldString)) { + afterOffset = afterOffset.plusWeeks(curValue); } else if ("m".equals(fieldString)) { afterOffset = afterOffset.plusMonths(curValue); } else if ("y".equals(fieldString)) {