Skip to content

Gregorian calendar hard-coded in datetime-fortran #37

@aekiss

Description

@aekiss

I just noticed that the Gregorian definition of leap years is hard-coded in datetime-fortran:
https://github.com/wavebitscientific/datetime-fortran/blob/master/src/lib/mod_datetime.f90#L1053

I guess this would prohibit the use of different calendars (e.g. noleap) - could this cause any problems, e.g. with RYF?

Note that this also means a proleptic Gregorian calendar is applied prior to the year 1582 (see COSIMA/access-om2#117).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions