NaN/NaN Gallery Card File name issue

Hopefully some one can advise me on this minor issue with the Gallery Card

On some pictures I get the file NaN/NaN :am but others are correct 10/1 8:58 PM

camera_cctv1_2020-10-01_20:57:09.jpg - this is the name format my camera saves a file as

type: 'custom:gallery-card'
entities:
  - sensor.gallery_images
  - camera.games_room_cctv2_ch1
maximum_files: '10'
file_name_format: camera_cctv1_%YYY-%m-%d_%H:%M:%S
                  caption_format: '%m/%d %H:%M %p'
menu_alignment: Bottom
title: Facial Recognition Images

Any ideas?