Skip to content

Commit c3e1f0e

Browse files
committed
updated code fmting
1 parent 2235e8c commit c3e1f0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,10 @@ pub fn time_mod(
251251
) -> Result<(), Box<dyn std::error::Error>> {
252252
if e.symlink_metadata()?.modified().is_ok() {
253253
let timestamp = fs::symlink_metadata(e)?;
254-
let naive = NaiveDateTime::from_timestamp(FileTime::from_last_modification_time(&timestamp).seconds() as i64, 0);
254+
let naive = NaiveDateTime::from_timestamp(
255+
FileTime::from_last_modification_time(&timestamp).seconds() as i64,
256+
0,
257+
);
255258
let datetime: DateTime<Local> = DateTime::from_utc(naive, *Local::now().offset());
256259
if !Cli::from_args().colors_on {
257260
print!("{}", color::Fg(color::LightRed));

0 commit comments

Comments
 (0)