TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JavaScript Time Zone Conversion with Walltime

11 点作者 Jacob4u2超过 12 年前

3 条评论

dfc超过 12 年前
<i>Could not embed GitHub Gist 4091298: API Rate Limit Exceeded for 198.61.245.60</i><p>A good example of why using gist for your corporate blog may not be such a good idea. Right when you are getting a lot of attention your post becomes a lot less useful.<p>Its too bad because I was interested to read the article
评论 #5210956 未加载
评论 #5210979 未加载
评论 #5210737 未加载
评论 #5210872 未加载
joshfraser超过 12 年前
This post is dated, but describes some of the challenges with detecting timezones using JavaScript:<p><a href="http://www.onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/" rel="nofollow">http://www.onlineaspect.com/2007/06/08/auto-detect-a-time-zo...</a><p>My code has since been adapted and lives on as jstz.min.js. This is the best library I know for handling this sort of stuff: <a href="https://bitbucket.org/pellepim/jstimezonedetect" rel="nofollow">https://bitbucket.org/pellepim/jstimezonedetect</a>
评论 #5211001 未加载
geedew超过 12 年前
+1 for being a quality software solution.