Bug 18299 – std.datetime.date.cmpTimeUnits does not throw a DateTimeException

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-01-25T17:55:42Z
Last change time
2018-01-26T04:09:00Z
Assigned to
No Owner
Creator
Jack Stouffer

Comments

Comment #0 by jack — 2018-01-25T17:55:42Z
cmpTimeUnits throws an Exception rather than a DateTimeException
Comment #1 by github-bugzilla — 2018-01-26T04:09:00Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/f086ab6ce61da95686bc010bfb2b25e2036aae69 Fix Issue 18299: std.datetime.date.cmpTimeUnits does not throw a DateTimeException https://github.com/dlang/phobos/commit/af21a266229ed4b83d2bbf5939ad671e8c2ec39c Merge pull request #6068 from JackStouffer/issue18299 Fix Issue 18299: std.datetime.date.cmpTimeUnits does not throw a Date… merged-on-behalf-of: Jonathan M Davis <[email protected]>