Просмотр исходного кода

Use short month names to make them line up

Ben S 11 лет назад
Родитель
Сommit
bf815afa8e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/file.rs

+ 1 - 1
src/file.rs

@@ -304,7 +304,7 @@ impl<'a> File<'a> {
     }
     }
 
 
     fn timestamp(&self, time_type: TimeType) -> Cell {
     fn timestamp(&self, time_type: TimeType) -> Cell {
-        let format = date_format!("{:Y} {10>:M} {2>:D}");
+        let format = date_format!("{:Y} {:M} {2>:D}");
 
 
         // Need to convert these values from milliseconds into seconds.
         // Need to convert these values from milliseconds into seconds.
         let time_in_seconds = match time_type {
         let time_in_seconds = match time_type {