Share date parsing function, use mapbox css