blob: 846180a2cc199efa465727984eeae502adeb7af1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
export class StringToDateFilter {
constructor() {
let filter = <StringToDateFilter>( (date:string) => {
if (date) {
return new Date(date.replace(" UTC", '').replace(" ", 'T') + '+00:00');
}
});
return filter;
}
}
|