Schedule message #15

Merged
phoenix merged 19 commits from schedule_message into alot_of_changes 2026-06-17 17:51:34 -04:00
Showing only changes of commit 0d6f5a1ec5 - Show all commits
-9
View File
@@ -325,15 +325,6 @@ mod request {
pub async fn create_scheduled_message(
app: &axum::Router,
) -> Result<axum::response::Response, axum::http::Error> {
/*
let twenty_minutes_from_now = time::OffsetDateTime::now_utc().checked_add_signed(
time::Duration::<time>::minutes(20).unwrap(),
);
*/
/*
let now = time::OffsetDateTime::now_utc();
time::Duration::minutes(20).into().add(&now);
*/
let now = time::OffsetDateTime::now_utc();
let scheduled = now + std::time::Duration::from_secs(60 * 60);
let scheduled = match scheduled.format(&Iso8601::DEFAULT) {