Closed expresidx closed 3 years ago
Hi @expresidx,
Thanks for reporting this! You are right, this kind of date formatting is not supported, so it will be skipped. Have you found some Intl documentation that suggesting this kind of date formatting?
Does a bit different approach work for you?
"publishedDate": "Published on {date}"
var formattedDate = DateFormat.yMd().format(DateTime.now()); // format your date
...
Text(S.of(context).publishedDate(formattedDate))
Well I thought you should mention it on the front page. I was trying to figure out my self the whole day why my code isn't working.
You are right. It would be useful to have some documentation regarding the usage of formatted dates in messages. We will add that in one of the upcoming extension releases.
The result is always skipped,
I cannot find any example to do the right way or does this plugin doesn't support at all?