mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
delegate some errors to the up level
This commit is contained in:
parent
5effd63575
commit
43c081d73b
3 changed files with 6 additions and 9 deletions
|
|
@ -77,8 +77,8 @@ impl Identity {
|
|||
match time {
|
||||
Some(value) => value,
|
||||
None => (
|
||||
DateTime::now_local().unwrap(),
|
||||
DateTime::from_local(9999, 12, 31, 23, 59, 59.9).unwrap(), // max @TODO
|
||||
DateTime::now_local()?,
|
||||
DateTime::from_local(9999, 12, 31, 23, 59, 59.9)?, // max @TODO
|
||||
),
|
||||
},
|
||||
name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue