Browse Source

Reorder formatting so we don't destroy our datetime object before we're done with it.

tags/v0.1^2
Ben Kurtovic 13 years ago
parent
commit
42081ab1c7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      earwigbot/tasks/afc_statistics.py

+ 2
- 2
earwigbot/tasks/afc_statistics.py View File

@@ -166,10 +166,10 @@ class Task(BaseTask):
row += "sr={page_special_user}|sh={page_special_hidden}|sd={page_special_time}|si={page_special_oldid}|" row += "sr={page_special_user}|sh={page_special_hidden}|sd={page_special_time}|si={page_special_oldid}|"
row += "mr={page_modify_user}|mh={page_modify_hidden}|md={page_modify_time}|mi={page_modify_oldid}" row += "mr={page_modify_user}|mh={page_modify_hidden}|md={page_modify_time}|mi={page_modify_oldid}"


page["page_special_time"] = self.format_time(page["page_special_time"])
page["page_modify_time"] = self.format_time(page["page_modify_time"])
page["page_special_hidden"] = self.format_hidden(page["page_special_time"]) page["page_special_hidden"] = self.format_hidden(page["page_special_time"])
page["page_modify_hidden"] = self.format_hidden(page["page_modify_time"]) page["page_modify_hidden"] = self.format_hidden(page["page_modify_time"])
page["page_special_time"] = self.format_time(page["page_special_time"])
page["page_modify_time"] = self.format_time(page["page_modify_time"])


if page["page_notes"]: if page["page_notes"]:
row += "|n=1{page_notes}" row += "|n=1{page_notes}"


Loading…
Cancel
Save