PHPackages                             reecefowell/jquery-timestamper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. reecefowell/jquery-timestamper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

reecefowell/jquery-timestamper
==============================

Create fuzzy timestamps in javascript.

5187JavaScript

Since Jun 20Pushed 13y ago1 watchersCompare

[ Source](https://github.com/reecefowell/jQuery.Timestamper)[ Packagist](https://packagist.org/packages/reecefowell/jquery-timestamper)[ RSS](/packages/reecefowell-jquery-timestamper/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

TIMESTAMPER jQuery Plugin.
==========================

[](#timestamper-jquery-plugin)

### About

[](#about)

Create fuzzy timestamps that auto update as time progresses.

By Reece Fowell &lt;reece \[at\] codeconsortium \[dot\] com&gt;

eg: 1 minute ago. 3 hours ago. 17:50 Yesterday.

### Setup

[](#setup)

To use this plugin please add jQuery to your site.

This plugin was built using jQuery 1.7.1.

Usage is simple, Make your timestamps an abbreviation like so:

```
2012-06-30 at 07:31
```

The content of the abbr does not matter, use whatever timestamp you like, bearing in mind that search engines will cache the content of the page so put a sensible date in there.

The class should be timestamper if you want minimal setup, but can be changed.

The title must adhere to the date format of YYYY-MM-DD HH:II, timestamper will either not work or do something funky if this is not setup correctly.

You can choose your own selector and change the css class to whatever you like by adding the following to your html head.

```

		$(document).ready(function() {
			$('abbr.timestamper').timestamper({
				interval: (1000 * 60 * 5),
			});

		});

```

The interval is how often the fuzzy timestamp will update. Change the tag and its selector in the jQuery $('tag.class') part.

### Full Configuration:

[](#full-configuration)

```

		$(document).ready(function() {
			$('abbr.timestamper').timestamper({
				interval: 10000,
				message: {
					just_now: 'less than a minute ago',
					min_1: '1 minute ago',
					min_x: '{IA} minutes ago',
					hour_1: '1 hour ago',
					hour_x: '{HA} hours ago',
					day_1: '{H}:{I} Yesterday',
					day_x: '{DA} days ago at {H}:{I}',
				},
				seconds: {
					inMinute: 60,
					inHour: (60 * 60),
					inDay: (60 * 60 * 24),
					inWeek: (60 * 60 * 24 * 7),
					inMonth: (60 * 60 * 24 * 7 * 4),
					inYear: (60 * 60 * 24 * 365)
				}
			}
		});

```

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fc70b6d3cf741bf2db95304ba146e14e0e10eca603966496ff58050dec6a02a?d=identicon)[reecefowell](/maintainers/reecefowell)

---

Top Contributors

[![reecefowell](https://avatars.githubusercontent.com/u/525575?v=4)](https://github.com/reecefowell "reecefowell (8 commits)")

### Embed Badge

![Health badge](/badges/reecefowell-jquery-timestamper/health.svg)

```
[![Health](https://phpackages.com/badges/reecefowell-jquery-timestamper/health.svg)](https://phpackages.com/packages/reecefowell-jquery-timestamper)
```

###  Alternatives

[prestashop/hummingbird

Hummingbird development theme for PrestaShop

1303.7M4](/packages/prestashop-hummingbird)[crescat-io/saloon-sdk-generator

Simplified SDK Scaffolding for Saloon

13532.7k10](/packages/crescat-io-saloon-sdk-generator)[topshelfcraft/wordsmith

...because you have the best words.

30351.5k7](/packages/topshelfcraft-wordsmith)[pixelopen/magento-plausible

Add Plausible Analytics to Magento

103.7k](/packages/pixelopen-magento-plausible)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
