We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 053ca8b commit 01c8a55Copy full SHA for 01c8a55
1 file changed
ami/main/models.py
@@ -1242,7 +1242,7 @@ def validate_filename_timestamp(filename: str) -> None:
1242
# Ensure filename has a timestamp
1243
timestamp = ami.utils.dates.get_image_timestamp_from_filename(filename)
1244
if not timestamp:
1245
- raise ValidationError("Image filename does not contain a valid timestamp (e.g. YYMMDDHHMMSS-snapshot.jpg).")
+ raise ValidationError("Image filename does not contain a valid timestamp (e.g. YYYYMMDDHHMMSS-snapshot.jpg).")
1246
1247
1248
def create_source_image_from_upload(image: ImageFieldFile, deployment: Deployment, request=None) -> "SourceImage":
0 commit comments