Skip to content

Commit 5b33b2b

Browse files
Sacha0tkelman
authored andcommittedMay 15, 2017
Add NEWS.md entry for dep of ambiguous Dates convert and colon methods (#19920). (#21861)
1 parent 6adef84 commit 5b33b2b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎NEWS.md

+9
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,14 @@ Deprecated or removed
459459
460460
* `Dates.recur` has been deprecated in favor of `filter` ([#19288])
461461
462+
* A number of ambiguous `convert` operations between `Number`s (especially `Real`s)
463+
and `Date`, `DateTime`, and `Period` types have been deprecated in favor of
464+
unambiguous `convert` and explicit constructor calls. Additionally, ambiguous colon
465+
construction of `<:Period` ranges without step specification, for example
466+
`Dates.Hour(1):Dates.Hour(2)`, has been deprecated in favor of such construction
467+
including step specification, for example `Dates.Hour(1):Dates.Hour(1):Dates.Hour(2)`
468+
([#19920]).
469+
462470
* `cummin` and `cummax` have been deprecated in favor of `accumulate`.
463471
464472
* `sumabs` and `sumabs2` have been deprecated in favor of `sum(abs, x)` and `sum(abs2, x)`, respectively.
@@ -626,6 +634,7 @@ Command-line option changes
626634
[#19901]: https://github.com/JuliaLang/julia/issues/19901
627635
[#19903]: https://github.com/JuliaLang/julia/issues/19903
628636
[#19919]: https://github.com/JuliaLang/julia/issues/19919
637+
[#19920]: https://github.com/JuliaLang/julia/issues/19920
629638
[#19925]: https://github.com/JuliaLang/julia/issues/19925
630639
[#19926]: https://github.com/JuliaLang/julia/issues/19926
631640
[#19931]: https://github.com/JuliaLang/julia/issues/19931

0 commit comments

Comments
 (0)
Please sign in to comment.