mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-02 21:49:22 +00:00
13 lines
227 B
Rust
13 lines
227 B
Rust
#[macro_use]
|
|
extern crate diesel;
|
|
|
|
use chrono::NaiveDateTime;
|
|
|
|
pub mod schema;
|
|
pub mod source;
|
|
|
|
// TODO: can probably move this back to lemmy_db
|
|
pub fn naive_now() -> NaiveDateTime {
|
|
chrono::prelude::Utc::now().naive_utc()
|
|
}
|