jenkins-bot has submitted this change and it was merged.

Change subject: Remove reference to missing Site.getcurrenttime
......................................................................


Remove reference to missing Site.getcurrenttime

Site.getcurrenttime exists in core but not compat.

Change-Id: Ia2f0d52921cb4da53133e81a8c2b4a4939db796f
---
M pywikibot/support.py
1 file changed, 0 insertions(+), 3 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/support.py b/pywikibot/support.py
index e6db56b..072bb25 100644
--- a/pywikibot/support.py
+++ b/pywikibot/support.py
@@ -31,9 +31,6 @@
     Use Timestamp.fromISOformat() and Timestamp.fromtimestampformat() to
     create Timestamp objects from Mediawiki string formats.
 
-    Use Site.getcurrenttime() for the current time; this is more reliable
-    than using Timestamp.utcnow().
-
     """
     mediawikiTSFormat = "%Y%m%d%H%M%S"
     ISO8601Format = "%Y-%m-%dT%H:%M:%SZ"

-- 
To view, visit https://gerrit.wikimedia.org/r/155548
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia2f0d52921cb4da53133e81a8c2b4a4939db796f
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to