Skip to content

Commit bff21c1

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ext/ReactantDatesExt/accessors.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ function Dates.yearmonth(days::Reactant.TracedRNumber)
7777
end
7878

7979
function Dates.monthday(days::Reactant.TracedRNumber)
80-
z = days + 306;
81-
h = 100z - 25;
82-
a = fld(h, 3652425);
80+
z = days + 306
81+
h = 100z - 25
82+
a = fld(h, 3652425)
8383
b = a - fld(a, 4)
8484
y = fld(100b + h, 36525);
8585
c = b + z - 365y - fld(y, 4);

0 commit comments

Comments
 (0)