Hello,<br><br>I prefer 24hr time. <br><br>By<br>Eric<br><br><div><span class="gmail_quote">2006/2/20, Mike Fedyk &lt;<a href="mailto:mfedyk@mikefedyk.com">mfedyk@mikefedyk.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'd like a vote for whether we should change the default time to am/pm<br>instead of 24hr time.<br><br>Preferably we should have it configurable, but I don't think we should<br>do that in this release with the little time remaining before release.
<br><br><a href="mailto:webmaster@vtiger.com">webmaster@vtiger.com</a> wrote:<br><br>&gt;Hello !<br>&gt;<br>&gt;philip has posted a new reply to &quot;How to Clear Users History log?&quot; in the &quot;General Discussion&quot; forum at vtiger. You can use the following link to view the replies made:
<br>&gt;<br>&gt;<a href="http://forums.vtiger.com/viewtopic.php?p=20761#20761">http://forums.vtiger.com/viewtopic.php?p=20761#20761</a><br>&gt;<br>&gt;-----------------------------------------------<br>&gt;Posted text:<br>
&gt;Hi,<br>&gt;<br>&gt;[b:97a9a01c21]1-How to clear the \&quot;Users Login History\&quot; log file? [/b:97a9a01c21]<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Login to your mysql, go to vtigerdatabase (vtigercm4_2), trunckate / delete&nbsp;&nbsp;the records in the table \'loginhistory\'
<br>&gt;<br>&gt;[b:97a9a01c21]2-How to change the Time Format from Military time to 12 hours? [/b:97a9a01c21]<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 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.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a) open the file include/utils.php and search for the string<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $display_date = $display_date.\' \'.$date_value[1];<br>&gt;replace the string with<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[i:97a9a01c21]$display_date = date(\&quot;Y-m-d g:i:s A\&quot;,strtotime($display_date.\' \'.$date_value[1]));
<br>&gt;[/i:97a9a01c21]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; again search for the string<br>&gt;$custfld .= \'&lt;td width=\&quot;30%\&quot; valign=\&quot;top\&quot; class=\&quot;dataField\&quot;&gt;\'.$displ_date.\'&amp;nbsp;\'.$start_time.\'&lt;/td&gt;\';
<br>&gt;replace it with<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[i:97a9a01c21]$custfld .= \'&lt;td width=\&quot;30%\&quot; valign=\&quot;top\&quot; class=\&quot;dataField\&quot;&gt;\'.date(\&quot;Y-m-d g:i:s A\&quot;,strtotime($displ_date.\' \'.$start_time.\&quot;:00\&quot;)).\'&lt;/td&gt;\';[/i:97a9a01c21]
<br>&gt; [b:97a9a01c21]<br>&gt;3-How to change the Standard Fields Labels? [/b:97a9a01c21]<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To change the Field Label the repective module language file has to be modified.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eg for Accounts modules, open the file module/Accounts/language/en_us.lang.php and replace the desired value defined in the array.
<br>&gt;<br>&gt;Philip<br>&gt;-----------------------------------------------<br>&gt;<br>&gt;You are receiving this email because you are watching the topic, &quot;How to Clear Users History log?&quot; at vtiger. If you no longer wish to watch this topic you can either click the &quot;Stop watching this topic link&quot; found at the bottom of the topic above, or by clicking the following link:
<br>&gt;<br>&gt;<a href="http://forums.vtiger.com/viewtopic.php?t=5657&amp;unwatch=topic">http://forums.vtiger.com/viewtopic.php?t=5657&amp;unwatch=topic</a><br>&gt;<br>&gt;<br>&gt;<br>_______________________________________________
<br>This <a href="http://vtiger.com">vtiger.com</a> 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!
<br><a href="http://zohowriter.com/?vt">http://zohowriter.com/?vt</a><br></blockquote></div><br>