Ask / Submit

Clock: seconds (time display)

asked 2015-02-19 16:27:43 +0300

Robomike gravatar image

Just made ntp work, but noticed that I can't see seconds. Is there any way far from Android to display the seconds?

edit retag flag offensive close delete



I would like the option to have seconds displayed on the clock on lock screen and home screen, not just when opening the clock app. Is that possiblefor a user to fix, or woult it have to be included in an OS update?

TomC ( 2015-11-19 10:03:58 +0300 )edit

5 Answers

Sort by » oldest newest most voted

answered 2015-02-19 16:51:35 +0300

Yo gravatar image

updated 2015-02-19 16:59:07 +0300

  • Enable developer mode,
  • open Terminal app,
  • write date and hit Enter.


Edit: I'd also like to be able to see seconds in clock app.

edit flag offensive delete publish link more

answered 2015-02-19 17:27:46 +0300

Yo gravatar image

updated 2015-02-19 17:36:13 +0300

I just investigated another idea, that needs programing skills:

In Terminal app (or via SSH -> more comfortable) have a look at the files

  • /usr/share/jolla-clock/pages/main/Clock.qml
  • /usr/share/jolla-clock/pages/main/ClockItem.qml

In the first file the updateFrequency has to be changed. Without knowing what to put there and if it's even possible you could try 'WallClock.Second'.

In the second file the 1st Text {…} (right after layoutDirection) seems to create the text for the clock. For 24h format the line Format.formatDate(time, Format.TimeValueTwentyFourHours) has to be altered, for 12h format it's the code below. I guess it's a matter of appending the seconds to the string result before returning it. Seconds could be got with time.getSeconds().

Always backup the files before modifying them!

I did not try it, but it looks promising!

Edit: I tried a simple approach: Alter the first file as suggested and then in the second file replace the corresponding line with return Format.formatDate(time, Format.TimeValueTwentyFourHours) + ":" + time.getSeconds(). It adds Seconds to the clock (if in 24h mode) but it also adds seconds to alarms. :D I guess there has to be done more but obviously it's possible.

edit flag offensive delete publish link more


Hey, that's nice. Good idea to do it in the clock app, my idea was to have it on the lock screen, but this is better. I made the font half size as original 124/720 * screen.width and added the leading zero in ClockItem.qml: if (timeFormatConfig.value === "24") { var sekunden = time.getSeconds() if (sekunden < 10) { sekunden = "0" + sekunden } return Format.formatDate(time, Format.TimeValueTwentyFourHours) + ":" + sekunden }

I like it! Thank you!

Robomike ( 2015-02-19 21:31:58 +0300 )edit

I tried editing Clock.qml and ClockItem.qml. However, I found ClockItem.qml in the folder ...jolla-clock/common (Saimaa/ It's a nice possibility, but I wouldn't want to have seconds displayed on alarms. This solution doesn't either update seconds on the clock app cover, just once per minute. Any suggestions how to achieve these things?

TomC ( 2015-11-19 10:00:29 +0300 )edit

answered 2016-09-16 01:17:09 +0300

Edz gravatar image

updated 2016-09-16 01:32:08 +0300

Seconds added to lockscreen clock (for Jolla1)


Direct Download:

image description

image description

edit flag offensive delete publish link more


Good one! Thanks for this. BTW, how do you change the operator name? The patch in Openrepos is marked as obsolete and does not work anymore.

Jordi ( 2016-09-16 08:34:38 +0300 )edit

Thanks @Jordi - Sorry chap, I have no idea about changing the operator name, probably best to contact the original author of the application and see if they can help.

Edz ( 2016-09-16 11:31:39 +0300 )edit

Ah, sorry, I didn't know that "giffgaff" was an operator name!

Jordi ( 2016-09-16 14:36:38 +0300 )edit

@Jordi - Gotcha, I see your initial confusion now. Yep, I left Orange years ago and joined Giffgaff, one of the best financial moves I have made regarding network providers.

Edz ( 2016-09-16 14:46:40 +0300 )edit

Thanks, Markkyboy!

Robomike ( 2016-09-17 00:19:16 +0300 )edit

answered 2015-02-19 17:05:26 +0300

drcouzelis gravatar image

There is a native Jolla application called "Swiss Clock" on / Warehouse. It shows an large analog clock (including seconds) both fullscreen and on the cover. I usually have it running to allow me to quickly glance at the time. :)

edit flag offensive delete publish link more


Nice app, thanks for hint!

Robomike ( 2015-02-19 21:24:17 +0300 )edit

answered 2016-09-16 14:11:14 +0300

objectifnul gravatar image

updated 2016-09-16 14:12:10 +0300

Other solution: wall clock patch

(Does not conflict with lockscreen analog clock)

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2015-02-19 16:27:43 +0300

Seen: 1,039 times

Last updated: Sep 16 '16