mirror of
https://github.com/mztlive/dx-admin-template.git
synced 2026-01-06 13:02:56 +00:00
fmt
This commit is contained in:
@@ -96,7 +96,10 @@ impl NaiveDate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn format<'a>(self, pattern: &'a str) -> FormattedDate<'a> {
|
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> {
|
pub fn from_system_time(time: SystemTime) -> Option<Self> {
|
||||||
|
|||||||
Reference in New Issue
Block a user