@@ -271,7 +271,7 @@ def callable_formatting_function(dates, _):
271
271
(datetime .timedelta (weeks = 52 * 200 ),
272
272
[r'$\mathdefault{%d}$' % (year ,) for year in range (1990 , 2171
8000
, 20 )]),
273
273
(datetime .timedelta (days = 30 ),
274
- [r'$\mathdefault{Jan %02d 1990}$' % (day ,) for day in range (1 , 32 , 3 )]),
274
+ [r'Jan $\mathdefault{ %02d 1990}$' % (day ,) for day in range (1 , 32 , 3 )]),
275
275
(datetime .timedelta (hours = 20 ),
276
276
[r'$\mathdefault{%02d:00:00}$' % (hour ,) for hour in range (0 , 21 , 2 )]),
277
277
])
@@ -550,15 +550,15 @@ def test_concise_formatter_show_offset(t_delta, expected):
550
550
(datetime .timedelta (weeks = 52 * 200 ),
551
551
['$\\ mathdefault{%d}$' % (t , ) for t in range (1980 , 2201 , 20 )]),
552
552
(datetime .timedelta (days = 40 ),
553
- ['$ \\ mathdefault{ Jan}$ ' , '$\\ mathdefault{05}$' , '$\\ mathdefault{09}$' ,
553
+ ['Jan' , '$\\ mathdefault{05}$' , '$\\ mathdefault{09}$' ,
554
554
'$\\ mathdefault{13}$' , '$\\ mathdefault{17}$' , '$\\ mathdefault{21}$' ,
555
- '$\\ mathdefault{25}$' , '$\\ mathdefault{29}$' , '$ \\ mathdefault{ Feb}$ ' ,
555
+ '$\\ mathdefault{25}$' , '$\\ mathdefault{29}$' , 'Feb' ,
556
556
'$\\ mathdefault{05}$' , '$\\ mathdefault{09}$' ]),
557
557
(datetime .timedelta (hours = 40 ),
558
- ['$\\ mathdefault{Jan {-}01}$' , '$\\ mathdefault{04:00}$' ,
558
+ ['Jan $\\ mathdefault{{-}01}$' , '$\\ mathdefault{04:00}$' ,
559
559
'$\\ mathdefault{08:00}$' , '$\\ mathdefault{12:00}$' ,
560
589E
td>560
'$\\ mathdefault{16:00}$' , '$\\ mathdefault{20:00}$' ,
561
- '$\\ mathdefault{Jan {-}02}$' , '$\\ mathdefault{04:00}$' ,
561
+ 'Jan $\\ mathdefault{{-}02}$' , '$\\ mathdefault{04:00}$' ,
562
562
'$\\ mathdefault{08:00}$' , '$\\ mathdefault{12:00}$' ,
563
563
'$\\ mathdefault{16:00}$' ]),
564
564
(datetime .timedelta (seconds = 2 ),
0 commit comments