@@ -126,6 +126,11 @@ export default function FieldData({
126
126
ddd : this . toLocaleDateString ( 'default' , { weekday : 'short' } ) ,
127
127
dd : this . getDate ( ) . toString ( ) . padStart ( 2 , '0' ) ,
128
128
d : this . getDate ( ) ,
129
+ // `S` must be before month, as Sep with be processed as `#ep`
130
+ SS : this . getSeconds ( ) . toString ( ) . padStart ( 2 , '0' ) ,
131
+ S : this . getSeconds ( ) ,
132
+ ss : this . getSeconds ( ) . toString ( ) . padStart ( 2 , '0' ) ,
133
+ s : this . getSeconds ( ) ,
129
134
MMMM : this . toLocaleString ( 'default' , { month : 'long' } ) ,
130
135
MMM : this . toLocaleString ( 'default' , { month : 'short' } ) ,
131
136
MM : ( this . getMonth ( ) + 1 ) . toString ( ) . padStart ( 2 , '0' ) ,
@@ -136,10 +141,6 @@ export default function FieldData({
136
141
h : ( this . getHours ( ) % 12 ) . toString ( ) ,
137
142
mm : this . getMinutes ( ) . toString ( ) . padStart ( 2 , '0' ) ,
138
143
m : this . getMinutes ( ) ,
139
- SS : this . getSeconds ( ) . toString ( ) . padStart ( 2 , '0' ) ,
140
- S : this . getSeconds ( ) ,
141
- ss : this . getSeconds ( ) . toString ( ) . padStart ( 2 , '0' ) ,
142
- s : this . getSeconds ( ) ,
143
144
TTT : this . getMilliseconds ( ) . toString ( ) . padStart ( 3 , '0' ) ,
144
145
ttt : this . getMilliseconds ( ) . toString ( ) . padStart ( 3 , '0' ) ,
145
146
AMPM : this . getHours ( ) < 13 ? 'AM' : 'PM' ,
0 commit comments