path: root/util/harfbuzz
diff options
authorEdward Welbourne <>2023-09-26 14:38:16 +0200
committerEdward Welbourne <>2023-09-28 14:51:33 +0200
commit02d8dc5f8c346e7ce0656511c75c3d7c70538536 (patch)
tree96490bddbc78983a9b9113e05403dfbed4ff022c /util/harfbuzz
parent44cbd4c31520017188257bff14f3f1820d8fdf8c (diff)
Rework getting normalized dates adjacent to a given oneHEADdev
I originally wrote dateNormalize() because I expected to need it more, but it turns out to only be needed for two cases of getting the days before and after a given one. So rename to adjacentDay(), pass the +1 or -1 step and simplify a little. In the process, fix a mistake in the winding backwards across a year boundary, where I'd incremented the year instead of decrementing it. Change-Id: I1bb0a8323fec7c1caffa7f20879f08d3526ba7ea Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'util/harfbuzz')
0 files changed, 0 insertions, 0 deletions