diff --git a/tubesync/sync/views.py b/tubesync/sync/views.py index a85a3e68..87fb6bc6 100644 --- a/tubesync/sync/views.py +++ b/tubesync/sync/views.py @@ -349,6 +349,9 @@ class AddSourceView(EditSourceMixin, CreateView): def get_initial(self): initial = super().get_initial() + initial['target_schedule'] = timezone.now().replace( + second=0, microsecond=0, + ).isoformat(timespec='minutes') for k, v in self.prepopulated_data.items(): initial[k] = v return initial