rename date to format_date

This commit is contained in:
yggverse 2025-09-08 16:33:50 +03:00
parent 09dba402cd
commit e8e2369564
2 changed files with 3 additions and 3 deletions

View file

@ -301,7 +301,7 @@ fn index(config: &Config, public: &Public, page: Option<usize>) -> Result<String
));
b.push(format!(
"{} • {} • {}\n",
torrent.time.format(&config.date),
torrent.time.format(&config.format_date),
format::total(&i),
format::files(&i),
))
@ -364,7 +364,7 @@ fn info(config: &Config, torrent: Torrent) -> Result<String> {
b.push(format!(
"{} • {} • {}\n",
torrent.time.format(&config.date),
torrent.time.format(&config.format_date),
format::total(&i),
format::files(&i),
));