[D-runtime] [D-Programming-Language/druntime] a4675d: Adjust deprecation message on Duration.weeks.

GitHub via D-runtime d-runtime at puremagic.com
Wed Jun 11 21:04:11 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: a4675d2d15c2b80478e05aca552be65517736684
      https://github.com/D-Programming-Language/druntime/commit/a4675d2d15c2b80478e05aca552be65517736684
  Author: jmdavis <jmdavisProg at gmx.com>
  Date:   2014-06-11 (Wed, 11 Jun 2014)

  Changed paths:
    M src/core/time.d

  Log Message:
  -----------
  Adjust deprecation message on Duration.weeks.

Apparently, some folks found it confusing, because it just so happens
that get!"weeks"() was identical to total!"weeks", since weeks were the
largest units. However, it does seem to highlight how folks have
misunderstood what the individual getters do (which is why they're being
deprecated).


  Commit: 6b165e4a8ae199c25c1441db62f0c849ff42959d
      https://github.com/D-Programming-Language/druntime/commit/6b165e4a8ae199c25c1441db62f0c849ff42959d
  Author: Martin Nowak <code at dawg.eu>
  Date:   2014-06-12 (Thu, 12 Jun 2014)

  Changed paths:
    M src/core/time.d

  Log Message:
  -----------
  Merge pull request #837 from jmdavis/message

Adjust deprecation message on Duration.weeks.


Compare: https://github.com/D-Programming-Language/druntime/compare/4e70463aa15e...6b165e4a8ae1


More information about the D-runtime mailing list