Skip to content

Commit

Permalink
Fix bad i18n object for model registration date (mlflow#4588)
Browse files Browse the repository at this point in the history
  • Loading branch information
apurva-koti authored Jul 22, 2021
1 parent ce7f75c commit 9e687d8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,12 @@ function ModelVersionInfoSection(props) {
<FormattedMessage
defaultMessage='Registered on {registeredDate}'
description='Label to display at what date the model was registered'
values={Utils.formatTimestamp(modelVersion.creation_timestamp, 'yyyy/mm/dd')}
values={{
registeredDate: Utils.formatTimestamp(
modelVersion.creation_timestamp,
'yyyy/mm/dd',
),
}}
/>
</React.Fragment>
) : (
Expand Down

0 comments on commit 9e687d8

Please sign in to comment.