There are ways to easily both make pywikibot.WbTime objects from both an existing datetime object or the current time, but it's not immediately obvious. I think improving the documentation to highlight these cases would be helpful.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[Docs] Highlight WbTime examples | pywikibot/core | master | +12 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T87764 Bugs related to time datatype (tracking) | |||
Resolved | BUG REPORT | RPI2026F1 | T123888 Incorrect default month and day for WbTime | ||
Invalid | Feature | RPI2026F1 | T325342 Add pywikibot.WbTime.now() | ||
Resolved | RPI2026F1 | T325444 Include examples of using datetime objects and current time |
Event Timeline
Comment Actions
Change 868788 had a related patch set uploaded (by RPI2026F1; author: RPI2026F1):
[pywikibot/core@master] [Docs] Highlight WbTime examples
Comment Actions
Change 868788 merged by jenkins-bot:
[pywikibot/core@master] [Docs] Highlight WbTime examples