filter.wxs 166 B

1234567891011
  1. // filter.wxs
  2. var formatTime = function (data) {
  3. return data.substring(0, 10).split('-').slice(1).join('-');
  4. }
  5. module.exports = {
  6. formatTime: formatTime
  7. };