How Wrong Timestamp Formatter Can Steal a Few Hours of Your Time

Written by ilia | Published 2019/11/30
Tech Story Tags: timestamp | python | pyspark | time | bug | software-development | latest-tech-stories | python-web-development

TLDR There is a whole lot of methods to represent date and time in computers. You can store it as Unix epoch, string, with or without a timezone, and so on. Transforming it into something more human-friendly, something like a year, month, day, etc. The wrong time formatter could still still be your time. The bug spotted by PySpark is a mistake that took a few hours to figure out. It is useful when you need to display time in AM/PM format but not something one would like to see during data analysis.via the TL;DR App

no story

Written by ilia | Machine Learning Engineer and AI Enthusiast
Published by HackerNoon on 2019/11/30