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.

PHP: Bug #45647

4 pointsby subnaughtover 9 years ago

1 comment

CarolineWover 9 years ago
This seems perfectly reasonable to me.<p><pre><code> 00-00-00 is a two digit year, hence 2000-00-00 2000-00 is the month before 2000-01, hence 1999-12 Then we have 1999-12-00 That&#x27;s the day before 1999-12-01, hence 1999-11-30 </code></pre> And that&#x27;s what it gives.<p>If you&#x27;re going to ask for month 0 and day 0, expect &quot;interesting&quot; results.
评论 #10983518 未加载