remove the limitation on (very) old DTSTART values for schedules

This commit is contained in:
Ryan Petrello
2020-04-02 16:00:21 -04:00
parent 2b9acd78c8
commit 6bd5053ae8
4 changed files with 53 additions and 7 deletions

View File

@@ -4539,6 +4539,8 @@ class SchedulePreviewSerializer(BaseSerializer):
try:
Schedule.rrulestr(rrule_value)
except Exception as e:
import traceback
logger.error(traceback.format_exc())
raise serializers.ValidationError(_("rrule parsing failed validation: {}").format(e))
return value