Fix unused warning in time_format
This commit is contained in:
parent
ba4e1699ae
commit
76196694b7
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
use anyhow::Result;
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use time::{OffsetDateTime, UtcOffset};
|
use time::{OffsetDateTime, UtcOffset};
|
||||||
|
|
||||||
|
@ -129,7 +128,7 @@ fn is_12_hour_time_by_locale(locale: &str) -> bool {
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
mod macos {
|
mod macos {
|
||||||
use super::*;
|
use anyhow::Result;
|
||||||
use core_foundation::base::TCFType;
|
use core_foundation::base::TCFType;
|
||||||
use core_foundation::date::CFAbsoluteTime;
|
use core_foundation::date::CFAbsoluteTime;
|
||||||
use core_foundation::string::CFString;
|
use core_foundation::string::CFString;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue