diff options
author | jhspetersson <jhspetersson@gmail.com> | 2023-11-27 23:37:45 +0100 |
---|---|---|
committer | jhspetersson <jhspetersson@gmail.com> | 2023-11-27 23:37:45 +0100 |
commit | b37aa6533dd481bf7fbc675a447c9d6fe9308812 (patch) | |
tree | 5fa8deaf26135fced293acf5c41bc1350014bcb7 | |
parent | f5ea59e972cebe481b6716f9353384d3514fcb71 (diff) |
fix spelling
-rw-r--r-- | src/function.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function.rs b/src/function.rs index 560e2a0..a9f8ad3 100644 --- a/src/function.rs +++ b/src/function.rs @@ -620,8 +620,8 @@ pub fn get_value(function: &Option<Function>, } let seconds = function_arg.parse::<u64>().unwrap(); - let formated = Duration::from_secs(seconds).to_human_time_string(); - return Variant::from_string(&formated); + let formatted = Duration::from_secs(seconds).to_human_time_string(); + return Variant::from_string(&formatted); } Some(Function::CurrentDate) => { let now = Local::now().date_naive(); |