mirror of
https://github.com/mztlive/dx-admin-template.git
synced 2025-12-22 21:59:59 +00:00
fmt
This commit is contained in:
@@ -96,7 +96,10 @@ impl NaiveDate {
|
||||
}
|
||||
|
||||
pub fn format<'a>(self, pattern: &'a str) -> FormattedDate<'a> {
|
||||
FormattedDate { date: self, pattern }
|
||||
FormattedDate {
|
||||
date: self,
|
||||
pattern,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn from_system_time(time: SystemTime) -> Option<Self> {
|
||||
|
||||
Reference in New Issue
Block a user