Skip to content

Commit 869c2f1

Browse files
Update ext/ReactantDatesExt/accessors.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b67ce6d commit 869c2f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/ReactantDatesExt/accessors.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function Dates.yearmonthday(days::Reactant.TracedRNumber)
5656
h = 100z - 25
5757
a = fld(h, 3652425)
5858
b = a - fld(a, 4)
59-
y = fld(100b + h, 36525);
60-
c = b + z - 365y - fld(y, 4);
59+
y = fld(100b + h, 36525)
60+
c = b + z - 365y - fld(y, 4)
6161
m = div(5c + 456, 153)
6262
d = c - div(153m - 457, 5)
6363
overflow = fld(m - 1, 12)

0 commit comments

Comments
 (0)