View Single Post
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#38
Could the date and time read across horizontally rather than one above the other?
Sure, but it would probably take a lot of your status bar space, to the point where it completely hides the part to the right of the status area (the part where most applications put their menus) in portrait mode. Which depending on how much you like using your stuff in portrait mode, may be unconvenient for you.

In the meantime, I can quickly make a clock style for you that does what you're asking for. What size font would you like (don't have to give a number, just pick whatever already existing style has the font size you want, and say bigger/smaller if you'd prefer.

Could the font match the one used with Theme Customizer?
It's doable, yes. I am not sure if he wants to take it that way (though he probably does, he's very responsive to letting users have the options they want), but the main problem is probably integration. You'd have to look at DLivil's source code for Theme Customizer, see how it fetches/changes the system font, etc.

If you can make the clock (or specific clock style) read the system font and use it, then it will probably change with theme customizer changes (though it may require a hildon-status-menu restart whenever you make a change in theme customizer).

Would it be possible to have the date format match the one suggested in "Language & region" in Settings menu?
Same as before, yes, it probably would be, but you'd have to know where that setting it stored, and have a way for the python code to read it. I'm not sure how much effort Nokia put into documenting the way to integrate the Language & Region date format with other applications.

Worse case scenario, you edit the python code of the clock for which you want to change the date.

They're always
Code:
str(self.time.day).zfill(X) + "Y" + str(self.time.month).zfill(X) + "Y" + str(self.time.year).zfill(X)
Where X is the amount of spaces you want it to take at a minimum so if you want January to show up as 01 instead of 1, you use .zfill(2), etc. Y is the dividing character. So if you want Jan first of one CE to be like this: 01.01.0001, you'd put a . between the "" in the above code. If you want 01/01/0001, you put /, etc. And then you can arrange those around, so if you want that screwed up American way of doing it, with Month/Day/Year, you'd do:
Code:
str(self.time.month).zfill(2) + "/" + str(self.time.day).zfill(2) + "/" + str(self.time.year).zfill(4)
You may have to redo it with every update, but it works.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post: