Skip to content

approxidate: tweak special date formats

Tuomas Ahola git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2approxidate: make "specials" respect fixed day-of-monthdate.c t/t0006-date.sh+5 -21 reply
2/2approxidate: overwrite tm_mday for `now` and `yesterday`date.c t/t0006-date.sh+5 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] approxidate: tweak special date formats

I made a couple of somewhat hacky fixes in approxidate special date formats after noticing that some tests succeeded only because of the specified test time which happened to be too late to spot some irregularities.

Thanks a lot in advance!

Tuomas Ahola (2):
approxidate: make "specials" respect fixed day-of-month
approxidate: overwrite tm_mday for now and yesterday

 date.c          | 5 ++++-
 t/t0006-date.sh | 9 ++++++---
 2 files changed, 10 insertions(+), 4 deletions(-)

base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e

Signature · 1 line
2.30.2