1234567891011121314 |
- var filter = {
- getDatetime: function( item ){
- var strItem = item.toString();
- return strItem.substring(0, 10) + " " +strItem.substring(11, 19);;
- },
- getDate: function( item ){
- var strItem = item.toString()
- return strItem.substring(0, 10);
- },
- }
- module.exports = {
- getDatetime: filter.getDatetime,
- getStatus: filter.getStatus
- }
|