Changeset

9353:02ae04efab0f

mod_scansion_record: Tweak filename
author Kim Alvefur <zash@zash.se>
date Sat, 22 Sep 2018 14:05:59 +0200
parents 9352:0fdb70ad9fcc
children 9354:b042aa047d80
files plugins/mod_scansion_record.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_scansion_record.lua	Sat Sep 22 14:00:11 2018 +0200
+++ b/plugins/mod_scansion_record.lua	Sat Sep 22 14:05:59 2018 +0200
@@ -6,7 +6,7 @@
 
 local id = require "util.id";
 
-local record_file = require "util.datamanager".getpath(id.medium(), module.host, os.date("%Y-%m-%d"), "scs", true);
+local record_file = require "util.datamanager".getpath(id.medium():lower(), module.host, os.date("%Y%b%d"):lower(), "scs", true);
 
 local fh = io.open(record_file, "w");