[Issue 17801] Date.fromISOExtString broken in 2.076 because of changed type specifier

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 5 00:54:12 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17801

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/80a0b584ee8d803392ab9362ee05a154370ade7d
Fix issue 17801: DateTime.fromISOExtString no longer works with const strings.

The from*String functions in std.datetime did not have tests to make
sure that they worked with various character types or various levels of
constness, and some optimizations that were done to the from*String
functions on DateTime for 2.076 broke them for const strings. So, this
adds tests for all character types and levels of constness to each of
the from*String function in std.datetime, and fixes the functionality
for DateTime that then doesn't pass the tests.

https://github.com/dlang/phobos/commit/67e66d2d4468aa3884b36dccc6d195792cab5790
Merge pull request #5721 from jmdavis/issue_17801

Fix issue 17801: DateTime.fromISOExtString no longer works with const strings.
merged-on-behalf-of: Petar Kirov <ZombineDev at users.noreply.github.com>

--


More information about the Digitalmars-d-bugs mailing list