Skip to content

Commit ebc2792

Browse files
committed
feat(format): change overall formatting rules to match date-fns
1 parent ab2e54a commit ebc2792

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/.vuepress/components/Formats.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ export default {
3434
value: 'yyyy-MM-dd',
3535
},
3636
{
37-
text: 'dsu MMM yyyy - e.g 12th Feb 2016',
38-
value: 'dsu MMM yyyy',
37+
text: 'do MMM yyyy - e.g 12th Feb 2016',
38+
value: 'do MMM yyyy',
3939
},
4040
{
41-
text: 'D dsu MMM yyyy - e.g Sat 12th Feb 2016',
42-
value: 'D dsu MMM yyyy',
41+
text: 'E do MMM yyyy - e.g Sat 12th Feb 2016',
42+
value: 'E do MMM yyyy',
4343
},
4444
{
4545
text: 'dd.MM.yyyy - 20.12.2019',

docs/guide/DateFormatting/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ NB. This is not very robust at all - use at your own risk! Needs a better implem
88
|-------|------------------------|-------------|
99
| d | day | 1 |
1010
| dd | 0 prefixed day | 01 |
11-
| D | abbr day | Mon |
12-
| su | date suffix | st, nd, rd |
11+
| E | abbr day | Mon |
12+
| o | date suffix | st, nd, rd |
1313
| M | month number (1 based) | 1 (for Jan) |
1414
| MM | 0 prefixed month | 01 |
1515
| MMM | abbreviated month name | Jan |

0 commit comments

Comments
 (0)