fix time format
This commit is contained in:
@@ -388,6 +388,7 @@ export default {
|
|||||||
|
|
||||||
const yearFormats = {
|
const yearFormats = {
|
||||||
YYYY: 'numeric',
|
YYYY: 'numeric',
|
||||||
|
YYY: 'numeric',
|
||||||
YY: '2-digit'
|
YY: '2-digit'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ module TimeUtils
|
|||||||
|
|
||||||
YEAR_FORMATS = {
|
YEAR_FORMATS = {
|
||||||
'YYYY' => '%Y',
|
'YYYY' => '%Y',
|
||||||
|
'YYY' => '%Y',
|
||||||
'YY' => '%y'
|
'YY' => '%y'
|
||||||
}.freeze
|
}.freeze
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user