Commit 9c9ee70
authored
refactor: Enhance calendar event comparison for migration (#287)
Enhances calendar events comparison for migration by ignoring
seconds, and milliseconds improving compatibility with the new
codebase. Previously, seconds and milliseconds were not considered.
Now, both calendar events and course date blocks have seconds and
milliseconds set to zero for precise matching, ensuring a smooth
transition.
Fixes: LEARNER-99241 parent 756925d commit 9c9ee70
File tree
1 file changed
+12
-1
lines changed- course/src/main/java/org/openedx/course/presentation/calendarsync
1 file changed
+12
-1
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
298 | 309 | | |
299 | 310 | | |
300 | 311 | | |
| |||
0 commit comments