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