Mercurial > prosody-hg
diff plugins/mod_scansion_record.lua @ 9353:02ae04efab0f
mod_scansion_record: Tweak filename
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 22 Sep 2018 14:05:59 +0200 |
| parents | 0fdb70ad9fcc |
| children | b042aa047d80 |
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");
