Skip to content
项目

关于

一款简洁、低调的 jQuery 插件,使用 Moment.js 自动更新带时间戳的 HTML 元素中的相对时间文本。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Livestamp.js

A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js.

Usage

See the livestamp documentation.

Dependencies

  • jQuery: you already know what this is
  • Moment.js: a great JavaScript library for parsing and displaying dates and times

License

Copyright (c) 2015 Matt Bradley

This software is freely distributable under the terms of the MIT License.

探索相关项目

加载中…