Advertisement
Guest User

Untitled

a guest
Feb 6th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. refering to: https://instantview.telegram.org/contest/news-r.ru/template4/issue1/
  2.  
  3. Again, I stand by that this time is not correct. If site showed time in local timezone of visitor then such behavior would be correct (because it converts time to IV bot local time, effictively making it UTC+0).
  4.  
  5. But this site shows publication date regardless of visitor/viewer time zone. It would be nonsense to assume that it's UTC+0 (which is required by perfect template checklist), since it's not used ANYWHERE in Russia.
  6.  
  7. IV converts publication_date to local time of viewer/consumer, so IV bot/generator must know correct time in UTC+0, on which this template can't be trusted/relied on. This can lead to articles "from the future", for example if article was posted on 23:00 in UTC+3 (Moscow time), IV bot uses 23:00 value as if it's in UTC+0 and then adds 3 hours on top, because my (viewer) time zone is UTC+3, effictively showing that article was published on day that hasn't even started.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement