Pushed changeset for grouping of global history
Was stuck in that format_date function, found its usage in MoinMoin/macro/Date.py file and came to know how to use it.
Pushed the first changeset of the global history grouping at bitbucket.org/sinha/moin2