dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.09k stars 1.56k forks source link

Remove HttpDate.parse and make it part of DateTime.parse #30719

Open floitschG opened 7 years ago

floitschG commented 7 years ago

The DateTime.parse functionality should be able to interpret the HttpDate.parse strings.

The HttpDate.parse function should then be removed.

matanlurey commented 7 years ago

What would this do to existing dart2js applications?

Does this currently map to Date.parse, and would this change make it incompatible?