+ {scheduled.map(([run_at, items], index) => (
+
{DateTime.fromISO(run_at)
.setLocale('pt-BR')
.toFormat('cccc, dd LLL yyyy')}
+
- {items.map(({ user, course, scheduled_at }, index) => (
-
- -
-
- {course.name}
- {user.name}
-
-
+ {items.map(
+ (
+ { user, course, created_by, scheduled_at },
+ index
+ ) => (
+
+
-
+
+ {course.name}
+ {user.name}
+ {/**/}
+
+
+ -
+ {' '}
+ {datetime.format(
+ new Date(scheduled_at)
+ )}
+
+ -
+ {' '}
+ {created_by.name}
+
+
+
+
+ {/*
-
-
- {index !== items.length - 1 && }
-
- ))}
+ */}
+
+
+ {index !== items.length - 1 && }
+
+ )
+ )}