implement custom timestamp formats for resources, resolves #15

This commit is contained in:
zyl 2024-11-13 14:52:36 -08:00
parent 0233bf0dad
commit 5b09813f24
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
6 changed files with 62 additions and 38 deletions

View file

@ -222,6 +222,7 @@ fn main() -> eyre::Result<()> {
tag_list_title: format!("{name} tags"),
resource_name_plural: plural,
resources_per_page: 3,
timestamp_format: "[weekday], [month repr:long] [day], [year]".to_string(),
};
config.resources.insert(id.clone(), resource_config);