Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Feb 2, 2024
1 parent 3d92d75 commit 95bf9d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions crates/utils/src/date/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ pub fn now() -> String {
}

pub fn parse(date: &str) -> Result<DateTime<Utc>, AppError> {
Ok(DateTime::parse_from_rfc3339(date)?
.with_timezone(&Utc))
Ok(DateTime::parse_from_rfc3339(date)?.with_timezone(&Utc))
}
2 changes: 1 addition & 1 deletion crates/utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod data;
mod error;
pub mod date;
mod error;
pub mod markdown;
pub mod url;
pub mod user;
Expand Down

0 comments on commit 95bf9d9

Please sign in to comment.