Miško Hevery
c33fda2607
perf: Don’t subclass Error; resulting in smaller binary ( #14160 )
...
Subclassing errors is problematic since Error returns a
new instance. All of the patching which we do than prevent
proper application of source maps.
PR Close #14160
2017-02-07 19:18:26 -06:00
Dzmitry Shylovich
093cc04748
fix(common): DatePipe parses input string if it's not a valid date in browser ( #13895 )
...
Closes #12334
Closes #13874
PR Close #13895
2017-02-01 14:01:58 -06:00
Dzmitry Shylovich
7ad616a177
fix(common): DatePipe doesn't throw for NaN ( #14117 )
...
Fixes #14103
PR Close #14117
2017-01-27 12:07:47 -06:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Bruno da Silva joão
2aba8b0ff2
fix(common): no TZ Offset added by DatePipe for dates without time ( #12380 )
2016-11-10 14:57:04 -08:00
Dzmitry Shylovich
3dc61779f0
fix(DatePipe): handle empty string ( #12374 )
2016-11-08 15:45:12 -08:00
Victor Berchet
7b8dae19af
refactor(facade): cleanup Intl facade
2016-10-28 15:52:52 -07:00
Andrei Tserakhau
f77ab6a2d2
feat(datePipe): support narrow forms for month and weekdays ( #12297 )
...
Closes #12294
2016-10-19 10:05:13 -07:00
Alex Eagle
decd129a4d
refactor(facade): remove DateWrapper ( #12027 )
2016-10-02 14:12:14 -07:00
Alex Eagle
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
Marc Laval
1b5e2b5129
test: add Intl polyfill and run Intl tests in all browsers ( #10471 )
2016-08-31 15:55:13 -07:00
Victor Berchet
0a053a4cd5
fix(i18n): Currency/Date/Number pipe use injected locale ( #11093 )
2016-08-26 09:16:01 -07:00
John-David Dalton
91980382e8
fix(pipes): remove bidi control chars ( #10870 )
...
Fix inconsistent results in Edge vs. other browsers.
Closes #10080 .
2016-08-18 13:31:33 -07:00
Andrei Tserakhau
712c7d5c3b
fix(datePipe): allow float for date pipe input ( #10687 )
2016-08-14 10:05:21 -07:00
Andrei Tserakhau
b4ea0b1601
test(datePipe): remove hardcoded timezone ( #10007 )
...
Closes #9964
2016-07-12 11:13:26 -07:00
Andrei Tserakhau
f29457f3f0
fix(datePipe): short timezone not displayed, closes #9812 ( #9816 )
2016-07-07 08:47:30 -07:00
Andrei Tserakhau
5eca6e4e40
bug(datePipe): passing "hh" to the datepipe ( #9774 )
...
closes #9759
2016-07-01 15:34:57 -07:00
Julie Ralph
3d8eb8cbca
fix(platform-browser/testing): clean up public api for platform-browser/testing ( #9519 )
...
Mostly, removing things that were never intended to be exported publicy.
BREAKING CHANGE:
The following are no longer publicly exported APIs. They were intended as internal
utilities and you should use your own util:
```
browserDetection,
dispatchEvent,
el,
normalizeCSS,
stringifyElement,
expect (and custom matchers for Jasmine)
```
2016-06-23 16:42:25 -07:00
ScottSWu
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
Andrei Tserakhau
2d60ff14ae
bug(datePipe): date format pipe's 2-digit interpretation of minutes and seconds ( #9338 )
...
Closes #9333
2016-06-18 09:03:58 -07:00
Andrei Tserakhau
5c8d3154d7
feat(datePipe): numeric string support
2016-06-17 15:58:06 -07:00
Victor Berchet
40f8a45b95
test(DatePipe): fixes
2016-06-17 15:48:26 -07:00
Victor Berchet
5e3ccbcea9
refactor: add types ( #9288 )
2016-06-17 10:57:32 -07:00
Alex Eagle
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
ScottSWu
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
Andrei Tserakhau
324f0147f6
feat(common/datePipe): change date formatter to use correct pattern closes #7008 ( #8154 )
...
- add regular expression to parse date parts
- add date part creator function
- replace tokens in pattern to parsed parts
2016-05-26 12:06:29 -07:00
laco0416
abc266fa35
feat(common): DatePipe supports ISO string
...
Closes #7794
2016-05-23 12:30:02 -07:00
Igor Minar
a66cdb469f
repackaging: all the repackaging changes squashed
2016-05-01 20:51:00 -07:00
Igor Minar
505da6c0a8
repackaging: all the file moves
2016-05-01 20:51:00 -07:00