fix(datePipe): allow float for date pipe input (#10687)
This commit is contained in:

committed by
vikerman

parent
e9479b30e8
commit
712c7d5c3b
@ -36,6 +36,9 @@ export function main() {
|
||||
it('should support numeric strings',
|
||||
() => { expect(() => pipe.transform('123456789')).not.toThrow(); });
|
||||
|
||||
it('should support decimal strings',
|
||||
() => { expect(() => pipe.transform('123456789.11')).not.toThrow(); });
|
||||
|
||||
it('should support ISO string',
|
||||
() => { expect(() => pipe.transform('2015-06-15T21:43:11Z')).not.toThrow(); });
|
||||
|
||||
|
Reference in New Issue
Block a user