Añade soporte para manejo de fechas y horas

This commit is contained in:
Manuel Cillero 2025-07-09 20:51:43 +02:00
parent 208ad83bea
commit 0dc9dd6ef1
5 changed files with 165 additions and 14 deletions

4
src/datetime.rs Normal file
View file

@ -0,0 +1,4 @@
//! Soporte a fechas y horas según estándar [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
//! (basado en [chrono](https://docs.rs/chrono)).
pub use chrono::prelude::*;

View file

@ -48,6 +48,8 @@ pub mod trace;
pub mod html;
// Localización.
pub mod locale;
// Soporte a fechas y horas.
pub mod datetime;
// Gestión del servidor y servicios web.
pub mod service;
// Prepara y ejecuta la aplicación.

View file

@ -27,6 +27,8 @@ pub use crate::html::*;
pub use crate::locale::*;
pub use crate::datetime::*;
pub use crate::service;
pub use crate::app::Application;