bareos: master 4075447b

Author Committer Branch Timestamp Parent
franku franku master 2021-03-31 23:05 master c97bdb87 Pending
Changeset lib: fix check for correct days per month

- improve readability of DateIsValid()

- the previous function is replaced with a variant that is easier
  to read; the surrounding code is also changed to supply a
  struct tm that looks like what the standard library would
  produce/accept

  Co-authored-by: Andreas Rogge <andreas.rogge@bareos.com>
mod - core/src/lib/btime.cc Diff File
mod - core/src/lib/btime.h Diff File