✨ (datetime): Reexporta chrono::Duration
This commit is contained in:
parent
82e64238bd
commit
7a3419415e
1 changed files with 5 additions and 0 deletions
|
|
@ -2,3 +2,8 @@
|
|||
//! (basado en [chrono](https://docs.rs/chrono)).
|
||||
|
||||
pub use chrono::prelude::*;
|
||||
|
||||
// `Duration` no forma parte de `chrono::prelude`, pero es de uso tan habitual junto al resto de
|
||||
// tipos de este módulo (sumar/restar intervalos a un `NaiveDateTime`, calcular expiraciones...) que
|
||||
// se reexporta igualmente.
|
||||
pub use chrono::Duration;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue