Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

296 B
Raw Blame
//! Default implementation of [SystemTime]

use crate::domain::ports::SystemTime;
use chrono::{DateTime, Utc};

/// Default implementation that returns the current UTC time
pub struct DefaultTime;

impl SystemTime for DefaultTime {
    fn now(&self) -> DateTime<Utc> {
        Utc::now()
    }
}