Now summary always uses the correct date.

The javascript now always will include a date when getting json from
the php page.