Posted by: midwestSS - Friday, 20 November 2009 09:46:25 |
---|
in the shoutbox, how to change it from saying Friday, October21 2009, 4:54pm MidwestSS: to just 4:54pm MidwestSS: ? |
Posted by: chriscoe71 - Sunday, 22 November 2009 02:02:18 |
---|
[quote=midwestSS]in the shoutbox, how to change it from saying
Friday, October21 2009, 4:54pm MidwestSS:
to just 4:54pm MidwestSS:
?[/quote]
I'm not sure if this is the easiest or the cleanest way, but you could, assuming you are working off the entire code base, add another method to Yaf.Classes.Core > Services > YafDateTime.cs and call it from /Controls/ShoutBox.ascx
The method could look something like:
[code] /// |
Posted by: Kamyar - Sunday, 22 November 2009 11:00:37 |
---|
In Controls/Shoutbox.ascx:
Replace this:
[code] |
Posted by: chriscoe71 - Sunday, 22 November 2009 12:31:40 |
---|
Kamyar's way requires a lot less coding. The method I put up removed the seconds from the display. |