cpan Date-Manip 6.70

latest releases: 6.95, 6.94, 6.93...
6 years ago
  • (*) (!) Changes to deltas
    Improved handling of deltas to better support the different types of
    deltas. Formalized how the semi-exact portions of the delta are used
    to produce the results that most people would expect.

    The type can now be specified to guarantee several behaviors.
    Changed the arguments (in a backward compatible way) to several
    methods. Explicitly added a new type (estimated) which was there
    previously, but could not be manually specified.

    The convert function continues to support converting from a less
    exact type to a more exact type, but this is deprecated and will be
    removed in version 7.00.

    This was prompted by a bug reported by Ian Gibbs.

  • (*) (!) Deprecated some parts of Date::Manip::Delta
    The options passed to the set and parse methods have changed. The
    old style will be removed in version 7.00.

    Deltas will also no longer support the 'exact' and 'approximate'
    strings (which have not been supported for some time). These will be
    removed in 7.00 as well.

  • Deprecation of TZ postponed
    The deprecation of the TZ variable has been postponed to version
    7.00.

  • Some speed improvements
    I converted some of the functions to use faster algorithms.
    Previously, the steps were worked out using logical time/calendar
    based calculations. These were replaced with non-intuitive numerical
    calculations that gave the same result faster.

  • Changed behavior if timezone not determined
    If the system timezone cannot be determined using any of the methods
    supplied by Date::Manip, operations will be done in the GMT
    timezone. Previously, Date::Manip would simply fail to load. Based
    on a report by Kent Fredric (RT 123229).

  • Fixed Makefile.PL
    The list of what what is provided did not include the path to the
    file providing each module. I've fixed the Makefile.PL as well as
    the META files. Graham Knop (GitHub #13)

  • Time zone fixes
    Newest zoneinfo data (tzdata 2018c)

  • Documentation fixes
    Rewrote Date::Manip::Delta page to reflect changes, and clean up the
    documentation in general.

Don't miss a new Date-Manip release

NewReleases is sending notifications on new releases.