[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2017-04-12 Thread gerritbot
gerritbot added a comment.
Change 281301 merged by jenkins-bot:
[pywikibot/core@master] Make WbTime from Timestamp and vice versa

https://gerrit.wikimedia.org/r/281301TASK DETAILhttps://phabricator.wikimedia.org/T131624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, jayvdb, Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Sn1per, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-08-20 Thread Lokal_Profil
Lokal_Profil added a comment.
Thanks for the feedback @jayvdb I've implemented the suggestions in a new patch-set.TASK DETAILhttps://phabricator.wikimedia.org/T131624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lokal_ProfilCc: gerritbot, jayvdb, Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, Lewizho99, Mdupont, JJMC89, Maathavan, Ricordisamoa___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-08-09 Thread Lokal_Profil
Lokal_Profil added a comment.
Found the open patchset related to this. There is still a need for it and the patch should still be mergeable (I just rebased it).

If someone would be willing to review or argue for why it isn't needed.TASK DETAILhttps://phabricator.wikimedia.org/T131624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lokal_ProfilCc: gerritbot, jayvdb, Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, Lewizho99, Mdupont, JJMC89, Maathavan, Ricordisamoa___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-04-03 Thread gerritbot
gerritbot added a comment.


  Change 281301 had a related patch set uploaded (by Lokal Profil):
  Make WbTime from Timestamp and vice versa
  
  https://gerrit.wikimedia.org/r/281301

TASK DETAIL
  https://phabricator.wikimedia.org/T131624

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, jayvdb, Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, 
Ricordisamoa



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-04-03 Thread jayvdb
jayvdb added a comment.


  Where do we need to use this `today` value in wikidata?  i.e. What is an 
example use for this, in a statement for which property?

TASK DETAIL
  https://phabricator.wikimedia.org/T131624

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: jayvdb, Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, Ricordisamoa



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-04-03 Thread Lokal_Profil
Lokal_Profil added a comment.


  True if we introduce a `fromTimestamp()` to `__-init.py__.WbTime` which goes 
from (possibly both ways) `pywikibot.Timestamp` to `WbTime`
  
  then:
  `today = pywikibot.WbTime.fromTimestamp(pywikibot.Timestamp.today())` should 
do it.
  
  techically this can be done already using
  `today = 
pywikibot.WbTime.fromTimestr(pywikibot.Timestamp.today().isoformat())` but I 
think it would make sense to have a converter to go from one of our time 
formats to the other.

TASK DETAIL
  https://phabricator.wikimedia.org/T131624

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lokal_Profil
Cc: Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, jayvdb, Ricordisamoa



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-04-02 Thread Xqt
Xqt added a comment.


  Couldn't Timestamp be used for that?

TASK DETAIL
  https://phabricator.wikimedia.org/T131624

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, jayvdb, Ricordisamoa



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T131624: add WbTime.today() to pywikibot

2016-04-02 Thread Lokal_Profil
Lokal_Profil added a comment.


  Alternatively instead of sticking this in `__-init.py__.WbTime` it could go 
inte some helper class... if someone can recommedn a good place.

TASK DETAIL
  https://phabricator.wikimedia.org/T131624

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lokal_Profil
Cc: Aklapper, Lokal_Profil, pywikibot-bugs-list, jayvdb, Ricordisamoa



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs