Inbox "Date" Settings - Day & Time

View: New views
3 Messages — Rating Filter:   Alert me  

Inbox "Date" Settings - Day & Time

by bobbyavidity :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I hope this is the right section. In my inbox, it used to show the day and time (January 4th 10:00 pm) or whatever, then it started to only show the time. I'd like it to show both. How can I change this? I enabled "display full date" in the options so now it reads "August 19, 2009 but still no time. How can I change this? Thanks.

Re: Inbox "Date" Settings - Day & Time

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8/18/09, bobbyavidity <bobbyandrewss@...> wrote:
>
> I hope this is the right section.

Not exactly.  You should ask on the users mailing list.

> In my inbox, it used to show the day and
> time (January 4th 10:00 pm) or whatever, then it started to only show the
> time. I'd like it to show both. How can I change this? I enabled "display
> full date" in the options so now it reads "August 19, 2009 but still no
> time. How can I change this? Thanks.

IIRC, the only way you can change this is to alter the code.  Normally
it shows the time ONLY on messages received within the last week.
Older messages just get the date.  When you enable "show full date",
all messages are treated as the latter.

If you want to change the date format of the "full date", you can open
functions/date.php and change the following, around line 366:

$date_format = _("M j, Y");

You can change it to something like:

$date_format = _("M j, Y g:i a");

Or:

$date_format = _("M j, Y H:i");

Consult the PHP manual for date format if you want something else.

http://php.net/manual/function.date.php

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Re: Inbox 'Date' Settings - Day & Time

by Fredrik Jervfors-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> In my inbox, it used to show the day and
>> time (January 4th 10:00 pm) or whatever, then it started to only show
>> the time. I'd like it to show both. How can I change this? I enabled
>> "display full date" in the options so now it reads "August 19, 2009 but
>> still no time. How can I change this? Thanks.
>
> IIRC, the only way you can change this is to alter the code.

Or use a translation.

> Normally
> it shows the time ONLY on messages received within the last week. Older
> messages just get the date.  When you enable "show full date", all
> messages are treated as the latter.
>
> If you want to change the date format of the "full date", you can open
> functions/date.php and change the following, around line 366:
>
> $date_format = _("M j, Y");
>
> You can change it to something like:
>
> $date_format = _("M j, Y g:i a");
>
> Or:
>
> $date_format = _("M j, Y H:i");
>
> Consult the PHP manual for date format if you want something else.
>
> http://php.net/manual/function.date.php

This will break that string for translations, but if you're running an
English only system it won't matter.

--
Fredrik Jervfors
The SquirrelMail Project
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donations.php


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins