refactor: rename abbr/relative modules

This commit is contained in:
2025-07-10 17:10:54 -05:00
parent 7a6b304213
commit 52fb1b2854
3 changed files with 4 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ pub fn parse_abbreviation(abbreviation: &str) -> Result<FixedOffset, String> {
#[cfg(test)]
mod tests {
use crate::abbr::parse_abbreviation;
use crate::abbr_tz::parse_abbreviation;
use chrono::FixedOffset;
#[test]

View File

@@ -143,7 +143,7 @@ pub fn parse_duration(str: &str) -> Result<Duration, String> {
#[cfg(test)]
mod tests {
use crate::relative::{parse_duration, Months};
use crate::duration::{parse_duration, Months};
use chrono::Duration;
#[test]

View File

@@ -7,11 +7,11 @@ use axum::{routing::get, Router};
use config::Configuration;
use dotenvy::dotenv;
mod abbr;
mod abbr_tz;
mod config;
mod duration;
mod error;
mod raster;
mod relative;
mod routes;
mod template;