Changes for version 0.60 - 2012-07-31

  • Added 'units' and 'precision' arguments (Stephan <au@hcsd.de>) https://rt.cpan.org/Ticket/Display.html?id=76497
  • Deprecated get_human_span_from_units_array()
  • Added get_human_span_from_units(), which should provide an alternative to get_human_span_from_units_array(), allowing you to determine whether the duration is positive or negative. https://rt.cpan.org/Ticket/Display.html?id=74923 It also works correctly with 'units' and 'precision' whereas get_human_span_from_units_array() would not.

Modules

Get a locale specific string describing the span of a given duration

Provides

in lib/DateTime/Format/Human/Duration/Locale.pm
in lib/DateTime/Format/Human/Duration/Locale/de.pm
in lib/DateTime/Format/Human/Duration/Locale/es.pm
in lib/DateTime/Format/Human/Duration/Locale/fr.pm
in lib/DateTime/Format/Human/Duration/Locale/it.pm
in lib/DateTime/Format/Human/Duration/Locale/pt.pm