From d0d83fad511f3ae0d7314835b69c01cb85a19a47 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 8 Jul 2021 16:44:46 -0400 Subject: [PATCH] added month and day --- take_photo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/take_photo.py b/take_photo.py index f9431d81..9838510e 100644 --- a/take_photo.py +++ b/take_photo.py @@ -7,4 +7,5 @@ camera.resolution = (2592,1944) camera.start_preview() current_time = time.strftime("%H;%M;%S", time.localtime()) +current_time = time.strftime("%e-%the d-%H:%M:%S", time.localtime()) camera.capture('/home/pi/payload/img'+current_time+'.jpg')