Skip to content

Commit

Permalink
feat(term): change time format delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Mar 19, 2024
1 parent 76d385e commit b0768bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/synd_term/src/types/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ pub trait TimeExt {

impl TimeExt for Time {
fn local_ymd(&self) -> String {
self.naive_local().format("%Y/%m/%d").to_string()
self.naive_local().format("%Y-%m-%d").to_string()
}
}

0 comments on commit b0768bc

Please sign in to comment.