We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc5129c + 4ac6a01 commit 25b94f0Copy full SHA for 25b94f0
1 file changed
src/main/java/com/official/memento/todo/service/ToDoSchedulerService.java
@@ -26,6 +26,9 @@ public void updateIncompleteTodos() {
26
LocalDateTime now = LocalDateTime.now(ZoneOffset.UTC);
27
28
for (MemberPersonalInfo memberPersonalInfo : members){
29
+ if(memberPersonalInfo.getTimeZoneOffset() == null) {
30
+ continue;
31
+ }
32
LocalDateTime memberLocalTime = now.plusSeconds(
33
ZoneOffset.of(memberPersonalInfo.getTimeZoneOffset()).getTotalSeconds()
34
);
0 commit comments