From b2e23e8ed9eabf4c704aeabc69332ed77e85d26d Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Mon, 3 May 2021 09:01:52 +0000 Subject: [PATCH] Changed filename format for the file to retrieve. #551 --- utils/get_warranty_serial/get_serials.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/get_warranty_serial/get_serials.php b/utils/get_warranty_serial/get_serials.php index 367df263..19795323 100644 --- a/utils/get_warranty_serial/get_serials.php +++ b/utils/get_warranty_serial/get_serials.php @@ -23,10 +23,10 @@ $blob_client = BlobRestProxy::createBlobService($conn_string); $current_date = new DateTime(); $current_date->modify("-1 day"); -$date = $current_date->format('m-d-Y'); +$date = $current_date->format('m-d-y'); $filename = 'warrantylogs' . $date . '.csv'; -//print_r($filename); +print_r($filename); // NOTE: via download blob $res = $blob_client->getBlob('warranty', $filename);