mirror of
https://github.com/hannobraun/Fornjot
synced 2025-03-01 10:35:54 +00:00
Refactor
This commit is contained in:
parent
3f137ba822
commit
881300ee39
@ -6,8 +6,7 @@ use tokio::fs::{self, File};
|
|||||||
|
|
||||||
pub fn date() -> String {
|
pub fn date() -> String {
|
||||||
let now = Utc::now();
|
let now = Utc::now();
|
||||||
let year = now.year();
|
format!("{}-{:02}-{:02}", now.year(), now.month(), now.day())
|
||||||
format!("{year}-{:02}-{:02}", now.month(), now.day())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn create_blog_post_file(
|
pub async fn create_blog_post_file(
|
||||||
|
Loading…
Reference in New Issue
Block a user