support for time format

when axis's scale type is *time* use time format