Skip to content

Commit

Permalink
from -wayshot. to wayshot-.
Browse files Browse the repository at this point in the history
  • Loading branch information
rachancheet committed Feb 29, 2024
1 parent 4c9918b commit f8b3f93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wayshot/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub fn get_default_file_name(extension: EncodingFormat) -> PathBuf {
.map(|time| time.as_secs().to_string())
.unwrap_or("unknown".into());

format!("{time}-wayshot.{extension}").into()
format!("wayshot-{time}.{extension}").into()
}

fn get_hour_minute_from_unix_seconds(seconds: u64) -> String {
Expand Down Expand Up @@ -168,5 +168,5 @@ pub fn get_time_stamp_file_name(extension: EncodingFormat) -> PathBuf {
}
};

format!("{time}-wayshot.{extension}").into()
format!("wayshot-{time}.{extension}").into()
}

0 comments on commit f8b3f93

Please sign in to comment.