inherit
258848
0
Aug 1, 2020 17:43:52 GMT -8
nakito
19
June 2019
nakito
|
Post by nakito on Jul 1, 2019 4:27:56 GMT -8
how to change mini profile registration date to DD/MM/YYYY ? i added this $[user.registered_on] to the mini profile but i want to be like DD/MM/YYYY Is there any way to do that ?
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,870
December 2005
horace
|
Post by Chris on Jul 1, 2019 9:25:05 GMT -8
how to change mini profile registration date to DD/MM/YYYY ? i added this $[user.registered_on] to the mini profile but i want to be like DD/MM/YYYY Is there any way to do that ? Add the following line in your mini-profile template: <br />Joined: <abbr data-timestamp="$[user.registered_on.timestamp]" class="o-timestamp time" /> It will of course matter where you add it since that will determine when it shows and when it doesn't but if you place in the member "info" div then it should show when that poster is a member
|
|
inherit
258848
0
Aug 1, 2020 17:43:52 GMT -8
nakito
19
June 2019
nakito
|
Post by nakito on Jul 1, 2019 10:11:16 GMT -8
how to change mini profile registration date to DD/MM/YYYY ? i added this $[user.registered_on] to the mini profile but i want to be like DD/MM/YYYY Is there any way to do that ? Add the following line in your mini-profile template: <br />Joined: <abbr data-timestamp="$[user.registered_on.timestamp]" class="o-timestamp time"> It will of course matter where you add it since that will determine when it shows and when it doesn't but if you place in the member "info" div then it should show when that poster is a member it end up like this: the day/month/year is right but i wish to be shown like 18/01/1970 i dont undestand why it is 1970 when i use $[user.registered_on] the year is normal
|
|
Kami
Forum Cat
Posts: 40,036
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,036
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Jul 1, 2019 15:56:37 GMT -8
good job Chris, you brought woobug back :( [this is a joke post]
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,870
December 2005
horace
|
Post by Chris on Jul 1, 2019 20:25:40 GMT -8
Add three zeros to the end to convert that unix timestamp to milliseconds <br />Joined: <abbr data-timestamp="$[user.registered_on.timestamp]000" class="o-timestamp time" />
|
|