This commit is contained in:
2025-04-21 10:52:19 +02:00
parent 1fa0b30169
commit 4b637b7e04
14 changed files with 1023 additions and 5 deletions

View File

@@ -1,6 +1,12 @@
use chrono::{DateTime, TimeZone, Utc};
use tera::{self, Function, Result, Value};
// Export modules
pub mod redis_service;
// Re-export for easier imports
pub use redis_service::RedisCalendarService;
/// Registers custom Tera functions
pub fn register_tera_functions(tera: &mut tera::Tera) {
tera.register_function("now", NowFunction);