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.

Request HN: maintenance messages of form "when this post is $n hours old"

3 pointsby hyp0about 11 years ago
For maintenance messages, could they be of the form <i>1 hour maintenance will begin when this post is $n hours old</i> - and including how old it is, like an ordinary post. eg:<p><pre><code> maintenance will begin when this post is 1 hour old </code></pre> This avoids users in other time zones from needing to work out what &quot;PDT&quot; is, and how to convert from it to their local time zone.

2 comments

amarcusabout 11 years ago
Or use something like Moment.js - <a href="http://momentjs.com/" rel="nofollow">http:&#x2F;&#x2F;momentjs.com&#x2F;</a>
ashrafulabout 11 years ago
Wouldn&#x27;t it be easier to just have a countdown? ie. 1 hour maintenance begins in 5 hours 30 minutes?