inherit
245749
0
Dec 13, 2018 4:32:43 GMT -8
tnchuck100
360
June 2017
tnchuck100
|
Post by tnchuck100 on May 29, 2018 5:19:32 GMT -8
RE: support.proboards.com/thread/449282/show-specific-timeChris, is it possible to have the code you posted on page 1 of the above thread to eliminate the "today" and "yesterday" references? What I am after is the plain and simple date/time stamp (ie: May 23, 2018 at 6:09pm) used in the Member List - Last Online column. Without the added frills and dressings such as "yesterday", "today", etc. I only need it for the Member List but if it changes all of the "ago" stuff throughout the board it would be acceptable but not required. I do hope I have explained what I am after clearly enough. I know how things here are easily mis-interpreted. Thanks.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on May 31, 2018 23:07:26 GMT -8
You can disable the today and yesterday branch by adding the red to the following lines of the code: code: if(!1 && $(this).hasClass('recent_time') && !/yesterday/i.test($(this).text())){
code: }else if(!1 && /yesterday/i.test($(this).text())){
Edit: also comment out the following line code: // if (time.text().indexOf(" at ") == -1)
|
|
inherit
245749
0
Dec 13, 2018 4:32:43 GMT -8
tnchuck100
360
June 2017
tnchuck100
|
Post by tnchuck100 on Jun 1, 2018 2:29:03 GMT -8
Thanks. It now does what I wanted.
|
|