We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ss.Sim(start=2025, dur=12, unit='month').init() Out[12]: Sim(n=10,000; 2025—2037)
Duration should be interpreted in months, but it's interpreted in years instead. Compare with:
ss.Sim(start='2025-01-01', dur=12, unit='month').init() Out[15]: Sim(n=10,000; 2025-01-01—2026-01-01)
The text was updated successfully, but these errors were encountered:
This should be fixed in #847 with
>>> ss.Sim(start='2025-01-01', dur=12).init() Out[7]: Sim(n=10000; 2025.01.01—2037.01.01)
and
>>> ss.Sim(start=2025, dur=12).init() Out[4]: Sim(n=10000; 2025.01.01—2037.01.01)
With the month version being
>>> ss.Sim(start=2025, dur=ss.months(12)).init() Out[5]: Sim(n=10000; 2025.01.01—2026.01.01) >>> ss.Sim(start='2025-01-01', dur=ss.months(12)).init() Out[8]: Sim(n=10000; 2025.01.01—2026.01.01)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Duration should be interpreted in months, but it's interpreted in years instead. Compare with:
The text was updated successfully, but these errors were encountered: