test, add regressions for random broken ddiff stuff

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use global __trans_dfmt_special() to deduce duration format in determine_durfmt()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide default formats for DT_YD in __trans_dfmt() and __trans_dtfmt()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide __trans_ddurfmt() and __trans_dtdurfmt()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, adapt dt_strfddur() to use duration format strings

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, adapt dt_strfdtdur() to use duration format strings

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use proper format strings for named formats in ddiff(1) too

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, adapt ddiff regression with named specifier to real output

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, fix up %w-%d days globally in __strf_w_days()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, get the logic in determine_durtype() right

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use T%0H:%0M:%0S as default suffix for dt-durations

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, rewrite dt_dtdiff() to do a split dt_tdiff()+dt_ddiff() for all but t-only and d-only type combinations

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, assume all special types (named) have a standard %0H:%0M:%0S suffix

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, iso week's sunday comes after monday

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, adapt random broken regressions to also just return the date portion of the duration

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, support DT_MD types in __strf_yd_days() and __strf_md_days()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, aggregate days and weeks into time format specifiers (only to range limit them right after)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/ddiff'

* cmd/ddiff:
  minor, aggregate days and weeks into time format specifiers (only to range limit them right after)
  minor, support DT_MD types in __strf_yd_days() and __strf_md_days()
  test, adapt random broken regressions to also just return the date portion of the duration
  fix, PEBKAC, iso week's sunday comes after monday
  minor, assume all special types (named) have a standard %0H:%0M:%0S suffix
  minor, rewrite dt_dtdiff() to do a split dt_tdiff()+dt_ddiff() for all but t-only and d-only type combinations
  minor, use T%0H:%0M:%0S as default suffix for dt-durations
  minor, get the logic in determine_durtype() right
  minor, fix up %w-%d days globally in __strf_w_days()
  test, adapt ddiff regression with named specifier to real output
  minor, use proper format strings for named formats in ddiff(1) too
  minor, adapt dt_strfdtdur() to use duration format strings
  minor, adapt dt_strfddur() to use duration format strings
  minor, provide __trans_ddurfmt() and __trans_dtdurfmt()
  minor, provide default formats for DT_YD in __trans_dfmt() and __trans_dtfmt()
  minor, use global __trans_dfmt_special() to deduce duration format in determine_durfmt()
  test, add regressions for random broken ddiff stuff