Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot define PROLEPTIC_GREGORIAN calendar with T0 on Feb 29th #1992

Open
ssgromov opened this issue Apr 2, 2022 · 1 comment
Open

cannot define PROLEPTIC_GREGORIAN calendar with T0 on Feb 29th #1992

ssgromov opened this issue Apr 2, 2022 · 1 comment

Comments

@ssgromov
Copy link
Contributor

ssgromov commented Apr 2, 2022

Reading FERRET documentation, proleptic_gregorian calendar accounts for leap years.

However, basing a new axis with this calendar on Feb 29th does not work:

yes? de ax/t0="29-FEB-2000"/units=seconds/cal=proleptic_gregorian pgtest = l[l=1:100]
 **TMAP ERR: error in time line definition
             29-FEB-2000 is not valid in this calendar
 **ERROR: improper grid or axis definition: /T0=29-FEB-2000

Is this by design or a bug?

@ACManke
Copy link

ACManke commented Apr 2, 2022

With current versions of PyFerret, this command works. It may have been a bug in some Ferret versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants