Bitcoin Forum

Other => Meta => Topic started by: arabspaceship123 on December 13, 2022, 03:22:19 AM



Title: Trust page time format strings aren't variable
Post by: arabspaceship123 on December 13, 2022, 03:22:19 AM
Viewing feedback doesn't alter selected time format. https://bitcointalk.org/index.php?action=trust;u=xxxxx has hard coded Time Format.

Look and Layout Preferences doesn't have total functionality. Posts & Personal messages do function. It's confusing when time formats don't correspond to preferred settings.

Random account with sole negative Trust summary taken from Meta board. It's 3 August 2015 & 8 March 2015
https://freeimghost.net/images/2022/12/12/feedbackdateexample.jpeg

I've demonstrated post Time Formats from my thread. It changes according to what's been selected.

demonstration1
https://freeimghost.net/images/2022/12/12/defaultdatefront.jpeg
https://freeimghost.net/images/2022/12/12/defaultdateback.jpeg

demonstration2
https://freeimghost.net/images/2022/12/12/yyyymmddfront.jpeg
https://freeimghost.net/images/2022/12/12/yyyymmddback.jpeg

demonstration3
https://freeimghost.net/images/2022/12/12/ddmmyyyyfront.jpeg
https://freeimghost.net/images/2022/12/12/ddmmyyyyback.jpeg

Trust summary time formats don't alter with any combination. Is it something you'd like changed?


Title: Re: Trust page time format hard coded
Post by: PX-Z on December 13, 2022, 03:49:06 AM
Date format in the trust page is not "hard coded" since it is saved to the forum's database. It's just not affected when changing the time format, it probably has date data type.

While i might agree that it should be changed too when changing the time format since it's describe that its "throughout this forum". But theymos could just change the "Time Format" description instead that only post time format are affected.


Title: Re: Trust page time format hard coded
Post by: DdmrDdmr on December 13, 2022, 09:32:04 AM
Since the Trust module is an add-on custom development, and therefore is not part of the core SMF version, it may be something that was left out in the programming. The SMF function timeformat (https://support.simplemachines.org/function_db/index.php?action=view_function;id=215;sa=viewall) (date and time) takes into account the user settings (https://wiki.simplemachines.org/smf/$user_info), so it’s possible that the dates on the Trust page are not using the flexibility of the format function for one reason or another.



Title: Re: Trust page time format strings aren't variable
Post by: arabspaceship123 on December 13, 2022, 01:11:51 PM
Date format in the trust page is not "hard coded"
Changed title

Since the Trust module is an add-on, and therefore is not part of the core SMF version, it may be something that was left out in the programming.
I didn't locate Trust module on SMF. It isn't available.

The SMF function timeformat (https://support.simplemachines.org/function_db/index.php?action=view_function;id=215;sa=viewall) (date and time) takes into account the user settings (https://wiki.simplemachines.org/smf/$user_info), so it’s possible that the dates on the Trust page are not using the flexibility of the format function for one reason or another.
Trust pages aren't giving correct date outputs because the time format strings aren't variable. It'll display correct outputs if copied the variable from personal messages page & replacing it.