Allowing less than a day intervals for charts

Allowing float number for defining date span.
Switching to local time.

Change-Id: I68468c64b1f3942c4f7d86f0c915d04d026596b9
Merge "Allowing less than a day intervals for charts"