TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cash registers in Poland fail due to new year bug (PL)

54 pointsby Donmarioover 5 years ago

6 comments

nippooover 5 years ago
I wouldn't be surprised if something alone the lines of `split("20")` or `replace("20", ““)` was the culprit somewhere (to turn it into a 2-digit year). I've seen the most absurd date handling code...
评论 #21956680 未加载
foobarianover 5 years ago
On the topic of dates broken around New Year&#x27;s, there is this perennial favorite:<p><a href="http:&#x2F;&#x2F;dangoldin.com&#x2F;2019&#x2F;01&#x2F;06&#x2F;javas-simpledateformat-yyyy-vs-yyyy&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dangoldin.com&#x2F;2019&#x2F;01&#x2F;06&#x2F;javas-simpledateformat-yyyy-...</a>
asturaover 5 years ago
So far I&#x27;ve heard of the following fail due to some sort of 2020 bug:<p>Parking meters: <a href="https:&#x2F;&#x2F;www.nytimes.com&#x2F;2020&#x2F;01&#x2F;03&#x2F;nyregion&#x2F;nyc-parking-meters.html" rel="nofollow">https:&#x2F;&#x2F;www.nytimes.com&#x2F;2020&#x2F;01&#x2F;03&#x2F;nyregion&#x2F;nyc-parking-mete...</a><p>Video games: <a href="https:&#x2F;&#x2F;www.dsogaming.com&#x2F;news&#x2F;star-wars-jedi-fallen-order-wwe-2k20-and-other-games-are-not-launching-due-to-a-denuvo-2020-bug&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.dsogaming.com&#x2F;news&#x2F;star-wars-jedi-fallen-order-w...</a><p>Now cash registers.<p>Anything else?
评论 #21957974 未加载
评论 #21956730 未加载
评论 #21960372 未加载
jaredwienerover 5 years ago
Similar issue in NYC with parking meters: <a href="https:&#x2F;&#x2F;www.nytimes.com&#x2F;2020&#x2F;01&#x2F;03&#x2F;nyregion&#x2F;nyc-parking-meters.html" rel="nofollow">https:&#x2F;&#x2F;www.nytimes.com&#x2F;2020&#x2F;01&#x2F;03&#x2F;nyregion&#x2F;nyc-parking-mete...</a>
评论 #21956512 未加载
acqqover 5 years ago
Apparently it&#x27;s a &quot;bug in the software of popular Delio cash printers from Novitus&quot;. The product page of the printer mentioned is:<p><a href="https:&#x2F;&#x2F;www.novitus.pl&#x2F;en&#x2F;produkty&#x2F;systemy-fiskalne&#x2F;delio-prime-e.html" rel="nofollow">https:&#x2F;&#x2F;www.novitus.pl&#x2F;en&#x2F;produkty&#x2F;systemy-fiskalne&#x2F;delio-pr...</a><p>It can be seen that the printer already existed in 2009 and then got something (&quot;Polish Promotional Emblem&quot; according to Google Translate) <a href="https:&#x2F;&#x2F;www.novitus.pl&#x2F;sites&#x2F;default&#x2F;files&#x2F;certyfikaty_tp_550.jpg" rel="nofollow">https:&#x2F;&#x2F;www.novitus.pl&#x2F;sites&#x2F;default&#x2F;files&#x2F;certyfikaty_tp_55...</a><p>Even if it&#x27;s only one model, if the companies have only that <i>one</i> model of printers they won&#x27;t be able to sell anything until the printers are serviced.<p>Effectively, having such a bug in software, even in multiple units of the same model translates to a single point of failure for the company using it.
ethbroover 5 years ago
I would love to hear what bizarre encoding they used that resulted in 2020 being an issue.<p>(I&#x27;m assuming these machines aren&#x27;t all &lt; year old and just break on any new year)
评论 #21956424 未加载
评论 #21956425 未加载