moved datetime functions to utils dir

This commit is contained in:
2025-03-17 07:15:36 -04:00
parent 1c461ddb9d
commit 15a203acf2
4 changed files with 65 additions and 61 deletions

View File

@@ -1,5 +1,4 @@
use super::posts::{deserialize_datetime, serialize_datetime};
use crate::{datasources::comments::CommentsDatasource, state::AppState};
use crate::{datasources::comments::CommentsDatasource, state::AppState, utils::datetime::*};
use axum::{
extract::{Path, State},
http::StatusCode,