From 96b6e7e83a97db87b7eb68843d9a778071cfb65d Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Tue, 12 Mar 2024 16:53:25 -0700 Subject: [PATCH] Improved custom YYYY-MM-DD output template option --- lib/pinchflat/downloading/output_path_builder.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pinchflat/downloading/output_path_builder.ex b/lib/pinchflat/downloading/output_path_builder.ex index 8142990..6364da0 100644 --- a/lib/pinchflat/downloading/output_path_builder.ex +++ b/lib/pinchflat/downloading/output_path_builder.ex @@ -40,7 +40,7 @@ defmodule Pinchflat.Downloading.OutputPathBuilder do "upload_year" => "%(upload_date>%Y)S", "upload_month" => "%(upload_date>%m)S", "upload_day" => "%(upload_date>%d)S", - "upload_yyyy_mm_dd" => "%(upload_date>%Y)S-%(upload_date>%m)S-%(upload_date>%d)S" + "upload_yyyy_mm_dd" => "%(upload_date>%Y-%m-%d)S" } end end