Skip to content

Commit 5870884

Browse files
authored
recently documented behavior of julian-date was corrected by lizmat as of v2025.08 (#4661)
1 parent cd34c3d commit 5870884

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/Type/DateTime.rakudoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,9 @@ is used in astronomy to define times of celestial objects transiting the
280280
Earth's Prime Meridian. For any instant, it is the sum of the number of whole days and
281281
the fraction of a day from that epoch to that instant.
282282

283-
Note the C<julian-date> method does B<not> use any timezone information,
284-
and silently ignores it in the C<DateTime> object.
283+
Before Rakudo release 2025.08, the C<julian-date> method does B<not>
284+
use any timezone information, and silently ignores it in the
285+
C<DateTime> object.
285286

286287
Available as of the 2021.04 Rakudo compiler release.
287288

@@ -299,8 +300,9 @@ reference the same epoch (November 17, 1858).
299300
The MJD is obtained by subtracting the constant C<2_400_000.5> from the I<Julian Date> and is used to simplify
300301
transformations between civil and astronomical time systems.
301302

302-
Note the C<modified-julian-date> method does B<not> use any timezone
303-
information, and silently ignores it in the C<DateTime> object.
303+
Before Rakudo release 2025.08, the C<modified-julian-date> method
304+
does B<not> use any timezone information, and silently ignores it in
305+
the C<DateTime> object.
304306

305307
Available as of the 2021.04 Rakudo compiler release.
306308

0 commit comments

Comments
 (0)