Author: duncan
Date: Mon Dec 4 16:15:23 2006
New Revision: 8694
Modified:
branches/rel-1/freevo/src/skins/main/tvlisting_area.py
Log:
[ 1608393 ] show date info without support LOCALE
Fix applied
Modified: branches/rel-1/freevo/src/skins/main/tvlisting_area.py
==============================================================================
--- branches/rel-1/freevo/src/skins/main/tvlisting_area.py (original)
+++ branches/rel-1/freevo/src/skins/main/tvlisting_area.py Mon Dec 4
16:15:23 2006
@@ -239,16 +239,15 @@
x0 = x_contents
ty0 = y_contents - r.height
for i in range( n_cols ):
- self.drawroundbox( math.floor(x0), ty0,
- math.floor( col_size + x0 ) - math.floor( x0 )
+ 1,
- head_h + 1, r2 )
-
- self.drawstring( time.strftime( timeformat,
- time.localtime( to_listing[ 0 ][ i
+ 1 ] ) ),
- head_val.font, content,
- x=( x0 + ig.x ), y=( ty0 + ig.y ),
- width=ig.width, height=-1,
- align_v='center', align_h=head_val.align)
+ self.drawroundbox(math.floor(x0), ty0,
+ math.floor( col_size + x0 ) - math.floor( x0 ) +
1,
+ head_h + 1, r2)
+
+ self.drawstring(Unicode(time.strftime(timeformat,
time.localtime(to_listing[0][i+1]))),
+ head_val.font, content,
+ x=( x0 + ig.x ), y=( ty0 + ig.y ),
+ width=ig.width, height=-1,
+ align_v='center', align_h=head_val.align)
x0 += col_size
# define start and stop time
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog