use moment api
convert range when used in setProperties