[Vtigercrm-developers] Vote: Change time to 12 hour am/pm? (Was: Topic Reply Notification for "How to Clear Users History log?" in forum "General Discussion")

Eric Lemesre eric.lemesre at gmail.com
Mon Feb 20 15:31:30 PST 2006


Hello,

I prefer 24hr time.

By
Eric

2006/2/20, Mike Fedyk <mfedyk at mikefedyk.com>:
>
> I'd like a vote for whether we should change the default time to am/pm
> instead of 24hr time.
>
> Preferably we should have it configurable, but I don't think we should
> do that in this release with the little time remaining before release.
>
> webmaster at vtiger.com wrote:
>
> >Hello !
> >
> >philip has posted a new reply to "How to Clear Users History log?" in the
> "General Discussion" forum at vtiger. You can use the following link to view
> the replies made:
> >
> >http://forums.vtiger.com/viewtopic.php?p=20761#20761
> >
> >-----------------------------------------------
> >Posted text:
> >Hi,
> >
> >[b:97a9a01c21]1-How to clear the \"Users Login History\" log file?
> [/b:97a9a01c21]
> >
> >     Login to your mysql, go to vtigerdatabase (vtigercm4_2), trunckate /
> delete  the records in the table \'loginhistory\'
> >
> >[b:97a9a01c21]2-How to change the Time Format from Military time to 12
> hours? [/b:97a9a01c21]
> >
> >     Changing the Time Format to 12 hrs across the product, will not be
> possible but the output/display of data in 12 hours or AM/PM is possible to
> achieve this following changes has to be done.
> >
> >      a) open the file include/utils.php and search for the string
> >
> >               $display_date = $display_date.\' \'.$date_value[1];
> >replace the string with
> >              [i:97a9a01c21]$display_date = date(\"Y-m-d g:i:s
> A\",strtotime($display_date.\' \'.$date_value[1]));
> >[/i:97a9a01c21]
> >               again search for the string
> >$custfld .= \'<td width=\"30%\" valign=\"top\"
> class=\"dataField\">\'.$displ_date.\'&nbsp;\'.$start_time.\'</td>\';
> >replace it with
> >              [i:97a9a01c21]$custfld .= \'<td width=\"30%\"
> valign=\"top\" class=\"dataField\">\'.date(\"Y-m-d g:i:s
> A\",strtotime($displ_date.\'
> \'.$start_time.\":00\")).\'</td>\';[/i:97a9a01c21]
> > [b:97a9a01c21]
> >3-How to change the Standard Fields Labels? [/b:97a9a01c21]
> >
> >                To change the Field Label the repective module language
> file has to be modified.
> >                eg for Accounts modules, open the file
> module/Accounts/language/en_us.lang.php and replace the desired value
> defined in the array.
> >
> >Philip
> >-----------------------------------------------
> >
> >You are receiving this email because you are watching the topic, "How to
> Clear Users History log?" at vtiger. If you no longer wish to watch this
> topic you can either click the "Stop watching this topic link" found at the
> bottom of the topic above, or by clicking the following link:
> >
> >http://forums.vtiger.com/viewtopic.php?t=5657&unwatch=topic
> >
> >
> >
> _______________________________________________
> This vtiger.com email is sponsored by: Zoho Writer. Are you still using
> your desktop word processor for typing documents? Try the AJAX enabled,
> collaboration-friendly online word processor, Zoho Writer for FREE instead!
> http://zohowriter.com/?vt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20060221/915ba41f/attachment-0005.html 


More information about the vtigercrm-developers mailing list