jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/934692 )

Change subject: Remove incorrect time normalization
......................................................................

Remove incorrect time normalization

Bug: T340495
Change-Id: Iaed1ae58d78ab38d6d75ee9e5a475e861e48d797
---
M pywikibot/page/_wikibase.py
1 file changed, 11 insertions(+), 1 deletion(-)

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




diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py
index b3a347b..5f7ef6b 100644
--- a/pywikibot/page/_wikibase.py
+++ b/pywikibot/page/_wikibase.py
@@ -1971,7 +1971,7 @@
         elif self.type == 'commonsMedia':
             value = self.getTarget().title(with_ns=False)
         elif self.type == 'time':
-            value = self.getTarget().toWikibase(normalize=True)
+            value = self.getTarget().toWikibase(normalize=False)
         elif self.type in ('globe-coordinate',
                            'quantity', 'monolingualtext',
                            'geo-shape', 'tabular-data'):

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/934692
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iaed1ae58d78ab38d6d75ee9e5a475e861e48d797
Gerrit-Change-Number: 934692
Gerrit-PatchSet: 1
Gerrit-Owner: Multichill <[email protected]>
Gerrit-Reviewer: RPI2026F1 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to