Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Display unpadded day in WPS?
« previous next »
  • Print
Pages: [1]

Author Topic: Display unpadded day in WPS?  (Read 1301 times)

Offline RowaN

  • Member
  • *
  • Posts: 90
Display unpadded day in WPS?
« on: May 07, 2007, 05:03:40 PM »
Another RTC related niggle.. its not currently possible to display an unpadded day - the only two options, currently, are:

%cd  day of month (01..31)  
%ce  day of month, blank padded ( 1..31)  

This isnt ideal for the WPS line I'm trying to create:

10:01pm :: Monday ::  7 March 2007

..theres always a double space if the day is a single digit, throwing off the delicate asthetics of the line. Is there any way around that?
Logged

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Display unpadded day in WPS?
« Reply #1 on: May 08, 2007, 05:02:38 PM »
Maybe we could simply remove the padding space ? I'm not sure it's useful to anyone...
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Display unpadded day in WPS?
« Reply #2 on: May 08, 2007, 05:33:13 PM »
The padding space is pretty useful for positioning in fixed with font WPSes. Does "07 March 2007" really look that bad though?
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Display unpadded day in WPS?
« Reply #3 on: May 08, 2007, 05:42:05 PM »
Llorean beat me to it....

Just wanted to say nearly the same, that without the padding (even blank) the date "jumps" around and this isn't very nice as well. With it the position stays the same and (my addition) this applies not only to fixed width fonts but to all because the numbers should have all the same width as a convention as far as I know. To my knowledge only the "snap" font doesn't follow this rule.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Display unpadded day in WPS?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.083 seconds with 15 queries.