File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ var clock = (function(){
3434if ( ! state . get . current ( ) . header . clock . hour24 . show && timeDateNow . hours ( ) > 12 ) {
3535timeStrings . hours = timeStrings . hours - 12 ;
3636} ;
37+ if ( ! state . get . current ( ) . header . clock . hour24 . show && timeDateNow . hours ( ) == 0 ) {
38+ timeStrings . hours = 12 ;
39+ } ;
3740timeStrings . hours = helper . toWords ( timeStrings . hours ) ;
3841if ( state . get . current ( ) . header . clock . hour24 . show && timeDateNow . hours ( ) > 0 && timeDateNow . hours ( ) < 10 ) {
3942timeStrings . hours = "Zero " + timeStrings . hours ;
@@ -44,6 +47,9 @@ var clock = (function(){
4447if ( ! state . get . current ( ) . header . clock . hour24 . show && timeDateNow . hours ( ) > 12 ) {
4548timeStrings . hours = timeStrings . hours - 12 ;
4649} ;
50+ if ( ! state . get . current ( ) . header . clock . hour24 . show && timeDateNow . hours ( ) == 0 ) {
51+ timeStrings . hours = 12 ;
52+ } ;
4753if ( state . get . current ( ) . header . clock . hour24 . show && timeDateNow . hours ( ) < 10 ) {
4854timeStrings . hours = "0" + timeStrings . hours ;
4955} ;
You can’t perform that action at this time.
0 commit comments