Эх сурвалжийг харах

Remove redundant UTC in UTC sensor

Thomas Dy 9 жил өмнө
parent
commit
09d182bbf3
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/sensors/mod.rs

+ 1 - 1
src/sensors/mod.rs

@@ -32,7 +32,7 @@ pub fn sensors(tx: &Channel, config: &Config) {
         Box::new(NetSpeedSensor::new(&devices)),
         Box::new(DiskSensor::new("/")),
         Box::new(TempSensor::new(zone)),
-        Box::new(TimeSensor::new("UTC %H:%M", true)),
+        Box::new(TimeSensor::new("%H:%M", true)),
         Box::new(TimeSensor::new("%Y-%m-%d %H:%M", false))
     ];