mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 00:27:21 +02:00
refactor(v2): format last updated date using Intl (#4352)
This commit is contained in:
parent
4f419801da
commit
6be0bd41b0
6 changed files with 38 additions and 13 deletions
|
@ -352,6 +352,7 @@ describe('simple site', () => {
|
|||
editUrl: 'https://github.com/customUrl/docs/lorem.md',
|
||||
description: 'Lorem ipsum.',
|
||||
lastUpdatedAt: 1539502055,
|
||||
formattedLastUpdatedAt: '10/14/2018',
|
||||
lastUpdatedBy: 'Author',
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue