vtiger Forum Index vtiger
The Honest Open Source CRM
 

Bug in sales stage history with date format
Click here to go to the original topic

 
       vtiger Forum Index -> Code Contributions - 4.x
Previous topic :: Next topic  
Author Message
pfilipkowski



Joined: 01 Mar 2006
Posts: 29

Posted: Tue Jun 20, 2006 3:30 pm    Post subject: Bug in sales stage history with date format  

If it is used date format dd-mm-yyyy (commonly used in Poland) instead yyyy-mm-dd, in the sales stage history we receive wrong close date for potentials. Perhaps in the code for setting history record it is used fixed date format that doesn’t consider user date format set in user’s configuration.

When is chosen yyyy-mm-dd date format, close date is set properly.

If anyone noticed that and made already appropriate fix please share it with me.

Regards,

Pfilipkowski
Back to top  
Sai



Joined: 22 Aug 2004
Posts: 1575
Location: Chennai, India

Posted: Wed Jun 21, 2006 2:32 am    Post subject: Re: Bug in sales stage history with date format  

Hi Pfilipkowski,

Thank you for notifying bug in Sales Stage History. I have created a Bug report based on your request at Tarc:

http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/1346

Please feel free to report bugs at Trac, so that we will fix it as soon as possible.

Regards,
Gopal
Back to top  
mickie



Joined: 13 Jan 2005
Posts: 710
Location: Chennai, India

Posted: Wed Jun 21, 2006 10:42 am    Post subject: Re: Bug in sales stage history with date format  

Dear Pfilipkowski,

can you please let us know which version of vtiger you are using.
i hope you are in 4.2.3 if so then please open modules/Potentials/RenderRelatedListUI.php and go inside the function renderRelatedStageHistory
Inside this function there will be a line like Code: $list .= $row['closedate']; in line no 211. please change this line to Code: $list .= getDisplayDate($row['closedate']); Now the date will be displayed in the user's data format. you can made the same change for Code: $list .= $row['lastmodified']; to Code: $list .= getDisplayDate($row['lastmodified']); to display the modified time in the user date format.

Hope this helps you.
Thanks & Reards
Mickie
Back to top  
 
       vtiger Forum Index -> Code Contributions - 4.x
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group