We need someone to help us rewrite our timeago script ([url removed, login to view]) to typescript, add support for Russian and British english, language and date formate will be determined by <html lang="en”>, <html lang="en-gb”> and <html lang=“ru”>.
lastly we need three bugs fixed:
- if an user is in an negative utc timezone, such as -1 or -2, time isnt being calulated correctly.
- script is pulling time from the element not the attribute inside the element, needs to pull time from <time pubdate datetime=‘’> and write result into body of the <time></time> element
- not displaying times ending 0-9 correctly (displays as 0,1,2,3,4,5,6,7,8,9 needs to display as 00,01,02,03,04,05,06,07,08,09)