Skip to content

Commit 58409f0

Browse files
committed
- (Bug Fix) Fixed an issue that would prevent the seconds from showing on the TwentyFourHourClock face
1 parent d940824 commit 58409f0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/flipclock/js/libs/time.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,16 +251,16 @@
251251
date = this.getDateObject();
252252
}
253253

254-
var obj = this.digitize([
254+
var data = [
255255
date.getHours(),
256256
date.getMinutes()
257-
]);
257+
];
258258

259259
if(showSeconds === true) {
260-
date.getSeconds();
260+
data.push(date.getSeconds());
261261
}
262262

263-
return obj;
263+
return this.digitize(data);
264264
},
265265

266266
/**

0 commit comments

Comments
 (0)