mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
implement custom timestamp formats for resources, resolves #15
This commit is contained in:
parent
0233bf0dad
commit
5b09813f24
6 changed files with 62 additions and 38 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue