mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #2323 from miDeb/maint/spellcheck-all
maint: actually run spellcheck on all files
This commit is contained in:
commit
a017c1b589
4 changed files with 29 additions and 23 deletions
|
@ -1,3 +1,5 @@
|
|||
// spell-checker:ignore (ToDO) Sdivide
|
||||
|
||||
use crate::common::util::*;
|
||||
use chrono::offset::Local;
|
||||
use chrono::DateTime;
|
||||
|
@ -10,8 +12,8 @@ fn file_last_modified_time(ucmd: &UCommand, path: &str) -> String {
|
|||
.map(|i| {
|
||||
i.modified()
|
||||
.map(|x| {
|
||||
let datetime: DateTime<Local> = x.into();
|
||||
datetime.format("%b %d %H:%M %Y").to_string()
|
||||
let date_time: DateTime<Local> = x.into();
|
||||
date_time.format("%b %d %H:%M %Y").to_string()
|
||||
})
|
||||
.unwrap_or_default()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue