change default datetime format

This commit is contained in:
oleg 2015-08-28 23:34:58 +03:00
parent 6640c9535d
commit 951a73f39a

View File

@ -1,2 +1,2 @@
- var date = moment(this.props.value);
span(title= date.format())= date.fromNow()
span(title= date.format('YYYY-MM-DD HH:mm:ss'))= date.fromNow()