rustling-ontology icon indicating copy to clipboard operation
rustling-ontology copied to clipboard

Question regarding moment module

Open gembin opened this issue 7 years ago • 0 comments

I'm new to rust, please forgive me if I'm wrong :-).

I got a question regarding the moment module, in lib.rs why ONLY re-export these 3 structs of chrono crate pub use chrono::{Weekday, Local, TimeZone}; ?

Perhaps, we may also need Utc to be able used with Moment, e.g. Moment(Utc::now()) ?

gembin avatar Aug 31 '18 09:08 gembin