Skip to content

Incorrectly calculated Julian Dates #119

@hajovonta

Description

@hajovonta

Hi there,

I'm trying to calculate current JD according to this article: https://en.wikipedia.org/wiki/Julian_day
It states that JD must be calculated relative to 12:00 January 1, 4713 BC, but the library states the offset is calculated from 00:00 January 1, 4713 BC:

;; The astronomical julian date offset is the number of days between
;; the current date and -4713-01-01T00:00:00+00:00

I feel the function "astronomical-julian-date" is also a bit sloppy, since it only calculates the days, without fractions.

This is not a post to criticize, just wanted your thoughts or maybe a bit of history on the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions