dashboard
repositories
filestore
activity
search
login
main
/
screen_demo2
招投标-河南禹州
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
updates
沈斌
2017-12-20
cd4992acac988e83a115f75a62e1f29d1c772009
[screen_demo2.git]
/
src
/
app
/
core
/
services
/
date.service.ts
1
2
3
4
5
6
7
8
9
10
11
import {Injectable} from '@angular/core';
import * as moment from 'moment';
@Injectable()
export class DateService {
date_format(date: string, format: string) {
return moment(date).format('YYYY-MM-DD');
}
}