diff options
author | Volpeon <git@volpeon.ink> | 2022-07-30 08:08:15 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-07-30 08:08:15 +0200 |
commit | 69f764fd41cb833164ddb07c31fd835d70215f1f (patch) | |
tree | 4414e657fcd830d16fa2705e937f34d30039854f /scripts | |
parent | Update (diff) | |
download | volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.tar.gz volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.tar.bz2 volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.zip |
Semantic fixes, show last update before title
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/metadata.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/metadata.lua b/scripts/metadata.lua index 27854b9..142cb8b 100644 --- a/scripts/metadata.lua +++ b/scripts/metadata.lua | |||
@@ -340,6 +340,8 @@ function process(global, meta) | |||
340 | meta.date = meta.last_update | 340 | meta.date = meta.last_update |
341 | end | 341 | end |
342 | 342 | ||
343 | meta.was_updated = meta.date and meta.last_update and meta.date.yyyy_mm_dd ~= meta.last_update.yyyy_mm_dd | ||
344 | |||
343 | meta.list = generate_list(meta) | 345 | meta.list = generate_list(meta) |
344 | 346 | ||
345 | return meta | 347 | return meta |