Wizard: switch snapshot date in wizard to RFC3339
This commit is contained in:
parent
e5934452ca
commit
29736d8d0c
4 changed files with 43 additions and 13 deletions
|
|
@ -478,7 +478,7 @@ export const ContentList = ({
|
|||
case useLatest:
|
||||
return 'Use latest';
|
||||
case !!snapshotDate:
|
||||
return `State as of ${snapshotDate}`;
|
||||
return `State as of ${yyyyMMddFormat(new Date(snapshotDate))}`;
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
|
@ -505,7 +505,9 @@ export const ContentList = ({
|
|||
headerContent={
|
||||
useLatest
|
||||
? 'Repositories as of today'
|
||||
: `Repositories as of ${snapshotDate}`
|
||||
: `Repositories as of ${yyyyMMddFormat(
|
||||
new Date(snapshotDate)
|
||||
)}`
|
||||
}
|
||||
hasAutoWidth
|
||||
minWidth="60rem"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue