RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Miscellaneous > Roundcube Discussion

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 08-14-2006, 09:21 PM
Registered User
 
Join Date: Jul 2006
Posts: 35
Downloads: 0
Uploads: 0
Default 24 hour time for 'today' (updated for recent release)

Don't know if this is a bug or an intended thing.

I noticed today after 12 o'clock noon today, my new email from today was showing as 1600 instead of showing as 4:00pm.

I made the changes to the config/main.inc.php file and the dates / times for everything after 'today' was working as I inteded it to work. I ended up fixing this by going into the program/include/main.inc and changing the line below.

return sprintf('%s %s', rcube_label('today'), date('g:ia', $timestamp));

If you are seeing the same thing, this seems to be a quick and easy fix.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-08-2007, 03:32 AM
Registered User
 
Join Date: Oct 2006
Posts: 46
Downloads: 0
Uploads: 0
Default Re: 24 hour time for 'today' (updated for recent release)

It worked for me thanks its around line 1739
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-09-2007, 09:39 PM
Registered User
 
Join Date: Feb 2007
Posts: 1
Downloads: 0
Uploads: 0
Default Re: 24 hour time for 'today' (updated for recent release)

oh thanks! That was getting on my nerves
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-14-2007, 12:45 AM
Registered User
 
Join Date: Jun 2006
Posts: 6
Downloads: 0
Uploads: 0
Default Re: 24 hour time for 'today' (updated for recent release)

This is nice, thanks!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-04-2007, 04:33 AM
Registered User
 
Join Date: Jul 2006
Posts: 35
Downloads: 0
Uploads: 0
Default Re: 24 hour time for 'today' (updated for recent release)

I have a post that is archived in the Recycle Bin here: http://roundcubeforum.net/forum/index.php?topic=400.0

This is an update to that. I realized when I upgraded to RC1 that this fix no longer worked.


So this is how you change 'today' from 24 hour format to 12 hour format in RC1.

change the below line in main.inc.php

from:
$rcmail_config['date_today'] = 'H:i';

to:
$rcmail_config['date_today'] = 'g:ia';
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-04-2007, 07:40 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: 24 hour time for 'today' (updated for recent release)

Removed from the Recycle Bin and merged
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 11:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community