fixed date bug
This commit is contained in:
parent
826dfe8092
commit
6b314d8dbe
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue