Use only "import datetime" in tutorials to minimise confusion
Reported by: |
John Shaffer <jshaffer2112@…> |
Owned by: |
Jacob |
Component:
|
Documentation
|
Version:
|
dev
|
Severity:
|
|
Keywords:
|
|
Cc:
|
|
Triage Stage:
|
Ready for checkin
|
Has patch:
|
yes
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
no
|
#4037, #4246, #4876, #4935 were all opened because of confusion over which datetime import to use. The tutorial's model files use "import datetime", while the command-line examples use "from datetime import datetime". I propose normalizing the imports to minimize confusion.
Change History
(7)
Component: |
Uncategorized → Documentation
|
Summary: |
Use only "import datetime" in tutorials → Use only "import datetime" in tutorials to minimise confusion
|
Triage Stage: |
Unreviewed → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Cc: |
Sishen added
|
Keywords: |
MESSAGE added
|
Summary: |
Use only "import datetime" in tutorials to minimise confusion → Use only "import datetime" in tutorials to minimise confusion
|
Cc: |
Sishen removed
|
Keywords: |
MESSAGE removed
|
Summary: |
Use only "import datetime" in tutorials to minimise confusion → Use only "import datetime" in tutorials to minimise confusion
|
Good idea.