Skip to content

Commit

Permalink
Update date format on details modal
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed Dec 8, 2024
1 parent a29a4f2 commit 3fa262d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/users/jinja2/users/components/elements-modal.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'<p id="element-upload-info">' +
{{ _("Uploaded by ")|tojson }} +
owner + ', ' +
{{ _("in ")|tojson }} + date + '</p>'
{{ _("in ")|tojson }} + new Date(date).toLocaleDateString() + '</p>'
)
}
function usedIn(artworks_count, exhibits_count, element_src, element_id, elemType){
Expand Down

0 comments on commit 3fa262d

Please sign in to comment.