Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
UncrownedGuard Posted March 29, 2021 Posted March 29, 2021 Hello, I was wondering if there was any simple way to place times within content (page content blocks, announcements, posts, etc.) that would use the user's time instead of a hard typed time. Essentially instead of me having to place "5pm EST", I could just use a tag or something to place 5PM and it will factor in the user's defined timezone or simply use the forum default time for guests and display the correct time? I mostly need this for the Pages app, so a coded solution is fine, but I am very curious if there is any sort of built in feature that I am missing. Even for a coded solution, I am not sure how to push a time based on their account time setting vs their IP timezone. Thank-you in advance.
Morrigan Posted April 7, 2021 Posted April 7, 2021 That’s actually how time in IPS works by default love. It will locale your time. Super obnoxious when you are a vpn but it works.
UncrownedGuard Posted April 13, 2021 Author Posted April 13, 2021 On 4/7/2021 at 4:33 AM, Morrigan said: That’s actually how time in IPS works by default love. It will locale your time. Super obnoxious when you are a vpn but it works. In the actual content of the site? E.g. if I add "I posted this at 6:21 EST today", I do not believe it will update to PST for west coast viewers looking at this post. I know it will do it for system items and calendar events, but I am looking for a way to add that function into blocks on the Pages App.
Morrigan Posted April 14, 2021 Posted April 14, 2021 By all means when you use a date it is in "locale" not server time. Are you using Date fields? Or are you trying to do this in a post?
Recommended Posts