Files
Kiran Kumar 832968c0c4 feat(payout): [Payone] add payone connector (#4553)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-05-30 09:42:02 +00:00

12 lines
379 B
Rust

pub use common_utils::{collect_missing_value_keys, newtype};
#[macro_export]
macro_rules! get_formatted_date_time {
($date_format:tt) => {{
let format = time::macros::format_description!($date_format);
time::OffsetDateTime::now_utc()
.format(&format)
.change_context($crate::core::errors::ConnectorError::InvalidDateFormat)
}};
}