问题标签 [flutter-intl]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
31 问题
0
投票
1
回答
40
浏览
flutter - Dart 日期格式不一致
我正在尝试解析看起来像这样的日期字符串Feb0920221500
(月、月中的日、年、小时、分钟)。但是当我使用MMMddyyyyHmm
模式时,我总是得到一个FormatException
. 此外intl
'sDateFormat
无法解析它之前格式化的日期:
输出:
我究竟做错了什么?