CenterForOpenScience/osf.io — pull request #1309 by brianjgeiger (2014-12-01 18:44:24+00:00)
Title: feature/localize-wiki-version-dates

Purpose
-----------
Convert dates on wiki page history to viewer's local time.
![screen shot 2014-12-01 at 1 35 16 pm](https://cloud.githubusercontent.com/assets/6599111/5250949/541b60ee-795f-11e4-958b-222c22349091.png)

Changes
------------
Modified the view function in python to output the ISO format of the date, then created a quick bit of JS on the wiki's history.mako to use the OSF's FormattableDate and put in the localized version of the date.

Side Effects
----------------
Should be fairly side-effect free. If anything else was using that view serialization code, then the dates are going to be formatted differently, but it doesn't look like the dates were being shown on the other pages. There's an API Route that uses the same data, but I didn't find anything using that date. Otherwise it's the view and edit pages for the wiki, neither of which seem to show the date.