fengxiang
2017-12-20 f44c926834a133ca253d4e393064ed9d11e4770a
src/app/core/services/date.service.ts
@@ -6,6 +6,10 @@
export class DateService {
  date_format(date: string, format: string) {
    return moment(date).format('YYYY-MM-DD');
    return moment(date).format(format);
  }
  today(format: string) {
    return moment().format(format);
  }
}