Merge branch 'test' into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-01-17 13:33:57 +01:00
commit 1fcd54e8d7
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
const Vue = require('vue');
const strftime = require('strftime');
Vue.filter('date', function(value, specifiers) {
Vue.filter('date', function(value, specifiers = '%d-%m-%Y') {
return strftime(specifiers, value);
});

View File

@ -231,7 +231,7 @@
<div class="header">{{$t('digitalSignature')}}</div>
<div class="body centered">
<img v-bind:src="dmsPath"/>
<div>{{signature.created | date}}</div>
<div>{{signature.created | date('%d-%m-%Y')}}</div>
</div>
</div>
</div>