rename parameter

This commit is contained in:
Mads Rasmussen
2017-11-14 10:47:34 +01:00
parent 53d9b65e64
commit cb0d8320e6
2 changed files with 3 additions and 3 deletions

View File

@@ -169,8 +169,8 @@
}
function ucfirst(hest) {
return hest.charAt(0).toUpperCase() + hest.slice(1);
function ucfirst(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
function getLocalDate(date, culture, format) {

View File

@@ -164,7 +164,7 @@
<umb-box-content class="block-form">
<umb-control-group data-element="node-info-create-date" label="@template_createdDate">
{{node.createDateFormatted | amDateFormat:'MMMM Do YYYY, HH:mm'}} <localize key="general_by">by</localize> {{ node.owner.name }}
{{node.createDateFormatted}} <localize key="general_by">by</localize> {{ node.owner.name }}
</umb-control-group>
<umb-control-group data-element="node-info-document-type" label="@content_documentType">