NetLogo / NetLogo/Time-Extension
Change default date format?
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 8
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
I think we should consider changing the default date format from MM/dd/yyyy to M/d/yyyy (and MM/dd to M/d, etc.). The MM/dd/yyyy seems to cause a runtime error when it encounters dates lacking leading zeros (like 7/5/2002 instead of 07/05/2002). Dates without zeros are extremely common, e.g., they are the standard in Excel. (And the runtime error statement is not extremely clear--took me a while to figure out the problem and clean up my code.)
Is there any disadvantage to making M/d the default?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point. First locate where the default date formats are defined and how dates without leading zeros are parsed; then assess the runtime-error wording and compatibility implications. Done means the default behavior and error handling are decided and verified against the proposed date formats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100