Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
David Young Posted May 8, 2019 Posted May 8, 2019 I have a custom profile field that defined as a date field. Since the last upgrade (4.4.2) I've noticed that when displayed on the users profile, it's displayed properly mm/dd/yyyy but when it's displayed under the users information on a post, it's showing the unix epoch date. I don't know if it was the last update that did it or the one before but it just recently started. Any thoughts?
bfarber Posted May 9, 2019 Posted May 9, 2019 The custom formatting for the field must be using the raw value instead of the formatted value. Edit the custom field in the AdminCP and adjust the formatting to use next to content (there's a helpful field description that will show you the tags you can use).
David Young Posted May 14, 2019 Author Posted May 14, 2019 So, both are using the same display option; so you are saying I need to change the bottom one to a custom display I changed the display option for topics to use custom, like so; Still shows like this in the topics view. Profile view shows a formatted date. I tried {$rawContent} and that left it blank in the topic view. I'll dig around some more and see what I can find.
bfarber Posted May 15, 2019 Posted May 15, 2019 I might suggest submitting a ticket actually. If you are using "Default formatting" or the formatted "{$content}" variable, the date should be displayed correctly without any extra effort.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.