fixed tag formatting failing mnte parsing
This commit is contained in:
parent
86f2103ac0
commit
134e2e8693
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ use crate::{
|
||||||
pub fn main(message: Option<String>) {
|
pub fn main(message: Option<String>) {
|
||||||
let message = message.unwrap_or_else(|| Utc::now().format("pi - %d/%m/%Y %H:%M").to_string());
|
let message = message.unwrap_or_else(|| Utc::now().format("pi - %d/%m/%Y %H:%M").to_string());
|
||||||
let timestamp = Utc::now().timestamp();
|
let timestamp = Utc::now().timestamp();
|
||||||
let suffix = format!("pi-{timestamp}");
|
let suffix = format!("pi{timestamp}");
|
||||||
let tag = Config::get_local()
|
let tag = Config::get_local()
|
||||||
.unwrap_or_else(|| {
|
.unwrap_or_else(|| {
|
||||||
log_error(
|
log_error(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue