nautalid 0.1.0

Scratch container substrate — TLS 1.3 HTTP/2+3 kernel, LID/AetherDB, optional filter bus (GPL-3.0-or-later).
1
2
3
4
5
6
7
8
9
10
11
use chrono::Utc;
use chrono_tz::Tz;
use tracing::info;

/// Demonstrates `chrono-tz` so scheduling does not depend on host `/usr/share/zoneinfo`.
pub fn log_sample_timezone() {
    let utc = Utc::now();
    let tz: Tz = "America/Chicago".parse().unwrap_or(chrono_tz::UTC);
    let local = utc.with_timezone(&tz);
    info!(%utc, %local, "sample time (chrono + chrono-tz)");
}