maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 clock replacement [continued] (https://talk.maemo.org/showthread.php?t=81582)

ade 2012-01-13 18:49

N900 clock replacement [continued]
 
2 Attachment(s)
[Please note I am no longer involved in this project.]

Freemangordon has been involved in refactoring.

The source can be found in https://github.com/community-ssu/clock-ui/

Downloads:
Official version available in the cssu-devel repo: http://maemo.merlin1991.at/cssu/comm...ee/c/clock-ui/

CepiPerez 2012-01-13 18:59

Re: N900 clock replacement [continued]
 
Thanks for keep the project alive
I didn't continue with this project cause I don't have my N900 anymore
I've added you to osso-clock in gitorious with admin rights
Now you can do what you want ;)

ade 2012-01-14 16:51

Re: N900 clock replacement [continued]
 
Happy to say I think I made big progress in the AM/PM issue today.

Fix 1:
The alarm time was translated to the locale format, but the Qt function that was used for that gave some unpredictable results. Using the US setting gave me a AM/PM result, while I had 24 hour clock actived.
I now use a different function, that seems to do a better job.

Fix 2:
The clock replacement was hardcoded on AM/PM. Not only for texts on the display, but also for checks, while the locale value can be different (in Finnish for example).
The text and checks of AM/PM are now based on the local settings.

I have done check in US, Finnish and Dutch settings.

New version can be download from the link in the first post.

@toxaris, can you also tell me if your problem is solved now?

Shinigamijim 2012-01-14 18:09

Re: N900 clock replacement [continued]
 
Thank you very much for your effort, I'd love to see it as part of the CSSU

peter2p 2012-01-14 19:55

Re: N900 clock replacement [continued]
 
1 Attachment(s)
Quote:

Originally Posted by ade (Post 1150561)
New version can be download from the link in the first post.

Thx ade & CepiPerez, another feature in portrait mode, just added your file, did a test and it's working...

Quote:

Originally Posted by ade (Post 1150223)
  • minor cosmetic changed may still be needed

On the tab Wereldklokken I saw on the Lokale Tijd (Brussel, Belgie)
some minor mistake but if i add bxl as a new worldclock it's ok

ade 2012-01-14 20:24

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by peter2p (Post 1150613)
Thx ade, another feature in portrait mode, just added your file, did a test and it's working...


On the tab Wereldklokken I saw on the Lokale Tijd (Brussel, Belgie)
some minor mistake but if i add bxl as a new worldclock it's ok

Thanks for noticing, I will have a look at it (looks like a characterset issue).

Meanwhile a new version. I did not handle local settings using "a.m" and "p.m" (with the dots) well. That's the case in German non 24h clock. Sorry for the frequent updates, but I urge people to use the latest version so they can see if there are still bugs. I cannot test all those languages with there settings on my own with every change :)

ade 2012-01-14 21:24

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by peter2p (Post 1150613)
Thx ade & CepiPerez, another feature in portrait mode, just added your file, did a test and it's working...


On the tab Wereldklokken I saw on the Lokale Tijd (Brussel, Belgie)
some minor mistake but if i add bxl as a new worldclock it's ok

peter2p,

Already made a fix for you (localtime did not use Utf8).

New download available from link in first post.

"Met de groeten uit Nederland" :)

peter2p 2012-01-14 21:40

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1150626)
Thanks for noticing, I will have a look at it (looks like a characterset issue).

Meanwhile a new version. I did not handle local settings using "a.m" and "p.m" (with the dots) well. That's the case in German non 24h clock. Sorry for the frequent updates, but I urge people to use the latest version so they can see if there are still bugs. I cannot test all those languages with there settings on my own with every change :)

Hey ade, i can comfirm that your latest update solved the ë issue, thx again, great job man...:)
I'm sure there will be other members to test other languages but dutch seems fine now.
Groeten uit Belgie :)

degtep 2012-01-15 06:57

Re: N900 clock replacement [continued]
 
How about source code?

ade 2012-01-15 08:37

Re: N900 clock replacement [continued]
 
My intention is to deal with that today (first wanted to do some bugfixing).
May take some time as I am not that experienced with git.

Edit: changes are merged, see source link in first post.


All times are GMT. The time now is 23:56.

vBulletin® Version 3.8.8