File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ fn run(args: Args) -> anyhow::Result<()> {
150150 commit_ref. author . actor ( ) . write_to ( & mut buf) ?;
151151 buf. into ( )
152152 } ,
153- time : commit_ref. author . time ( ) ?. format_or_raw ( format:: DEFAULT ) ,
153+ time : commit_ref. author . time ( ) ?. format_or_unix ( format:: DEFAULT ) ,
154154 message : commit_ref. message . to_owned ( ) ,
155155 } )
156156 } ) ,
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ mod trace_path {
180180 out,
181181 "{}| {} | {} {} {} ➡ {}" ,
182182 self . diff. unwrap_or_default( ) . format( max_diff_lines) ,
183- self . commit_time. format_or_raw ( gix:: date:: time:: format:: SHORT ) ,
183+ self . commit_time. format_or_unix ( gix:: date:: time:: format:: SHORT ) ,
184184 id. shorten_or_id( ) ,
185185 self . mode. as_str( ) ,
186186 path_by_id[ & source_id] ,
@@ -192,7 +192,7 @@ mod trace_path {
192192 out,
193193 "{}| {} | {} {} {}" ,
194194 self . diff. unwrap_or_default( ) . format( max_diff_lines) ,
195- self . commit_time. format_or_raw ( gix:: date:: time:: format:: SHORT ) ,
195+ self . commit_time. format_or_unix ( gix:: date:: time:: format:: SHORT ) ,
196196 id. shorten_or_id( ) ,
197197 self . mode. as_str( ) ,
198198 path_by_id[ & self . file_id]
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ impl delegate::Revision for Explain<'_> {
8888 ReflogLookup :: Date ( time) => writeln ! (
8989 self . out,
9090 "Find entry closest to time {} in reflog of '{}' reference" ,
91- time. format_or_raw ( gix:: date:: time:: format:: ISO8601 ) ,
91+ time. format_or_unix ( gix:: date:: time:: format:: ISO8601 ) ,
9292 ref_name
9393 )
9494 . ok ( ) ,
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ impl Personas {
140140 . and_then ( |date| gix_date:: parse ( date, Some ( SystemTime :: now ( ) ) ) . ok ( ) )
141141 } )
142142 . or_else ( || Some ( gix_date:: Time :: now_local_or_utc ( ) ) )
143- . map ( |time| time. format_or_raw ( gix_date:: time:: Format :: Raw ) )
143+ . map ( |time| time. format_or_unix ( gix_date:: time:: Format :: Raw ) )
144144 } ;
145145
146146 let fallback = (
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ impl std::fmt::Display for CandidateInfo {
4444 "commit {} {title:?}" ,
4545 gix_date:: parse_header( date)
4646 . unwrap_or_default( )
47- . format_or_raw ( gix_date:: time:: format:: SHORT )
47+ . format_or_unix ( gix_date:: time:: format:: SHORT )
4848 )
4949 }
5050 }
You can’t perform that action at this time.
0 commit comments