Bearloga has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/310048

Change subject: Date fix
......................................................................

Date fix

Change-Id: Icd4036c8934d0c137e95bdfaa9f86efc80d72ad4
---
M search/paulscore.R
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/golden 
refs/changes/48/310048/1

diff --git a/search/paulscore.R b/search/paulscore.R
index 3e1c250..1451183 100644
--- a/search/paulscore.R
+++ b/search/paulscore.R
@@ -28,6 +28,7 @@
 GROUP BY date, event_source;") # cat(query) if you want to copy and paste into 
MySQL CLI
   # See https://phabricator.wikimedia.org/T144424 for more details.
   data <- wmf::mysql_read(query, "log")
+  data$date <- lubridate::ymd(data$date)
   
   # Report
   wmf::write_conditional(data, file.path(base_path, 
"paulscore_approximations.tsv"))

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd4036c8934d0c137e95bdfaa9f86efc80d72ad4
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/golden
Gerrit-Branch: master
Gerrit-Owner: Bearloga <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to