i have incoming date in exactly like this string:
myDate= ' 2017-05-05T12:24:06+0000'
i am using FormattedDate from 'react-intl' to achieve my desired format
12:24, 5 May 2017
But with this code:
<FormattedDate
value={myDate}
day="numeric"
month="long"
year="numeric"
hour="numeric"
minute="numeric"/>
i am getting this :
May 5, 2017, 12:24
i must be doing something wrong. Or misunderstood docs. Can you advise me ?
I