Skip to content

Commit

Permalink
Format dates in source metadata editing panel (#37 #517)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonggrijp committed Mar 22, 2023
1 parent 3fa1964 commit 54c7a90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/source-metadata/source-metadata-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export default class SourceMetadataView extends CompositeView {
? nodeFromUri
: getLabel(nodeFromUri);
}
if (value instanceof Date) value = value.toISOString();
element.val(value);
}
return this;
Expand Down

0 comments on commit 54c7a90

Please sign in to comment.