Skip to content

Commit 8e257de

Browse files
Switch back to %-d to avoid space padding
1 parent aebb07c commit 8e257de

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/locales/fr.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ module.exports = {
8787
thousands: ' ',
8888
year: '%Y',
8989
month: '%b %Y',
90-
dayMonth: '%e %b'
90+
dayMonth: '%-d %b',
91+
dayMonthYear: '%-d %b %Y'
9192
}
9293
};

src/locale-en.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = {
3535
currency: ['$', ''],
3636
year: '%Y',
3737
month: '%b %Y',
38-
dayMonth: '%b %e',
39-
dayMonthYear: '%b %e, %Y'
38+
dayMonth: '%b %-d',
39+
dayMonthYear: '%b %-d, %Y'
4040
}
4141
};

0 commit comments

Comments
 (0)