Please note I'm new to react-intl. I have the following date I want to display:
d1_date: "2012-03-26" //goal to display March 26, 2012
I use react-intl's
FormattedDate
to display the date:
<FormattedDate value={d1_date} year='numeric' month='long' day='2-digit' />
and I get the following result:
March 25, 2012
I know the d1_date doesn't have time information. Do I need to manipulate d1_date so that a bogus time appears allowing the true date to reflect "March 26, 2012"?
I think it requires Date instance.