Skip to content

Commit

Permalink
Fix Rata Die docs (#4557)
Browse files Browse the repository at this point in the history
A JD is a Julian Day, which should *not* be mixed up with Rata Die
because it has a different epoch:
https://en.wikipedia.org/wiki/Julian_day
  • Loading branch information
robertbastian authored Jan 31, 2024
1 parent c90120e commit 5f28120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/calendrical_calculations/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ pub mod iso;
pub mod julian;
/// The persian calendar
pub mod persian;
/// Representation of Rata Die (R.D., also called J.D. for Julain Date)
/// dates, which are represented as the number of days since ISO date 0001-01-01.
/// Representation of Rata Die (R.D.) dates, which are
/// represented as the number of days since ISO date 0001-01-01.
pub mod rata_die;

0 comments on commit 5f28120

Please sign in to comment.