PHPackages                             pronamic/wp-datetime - 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. pronamic/wp-datetime

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

pronamic/wp-datetime
====================

WordPress DateTime library.

v2.2.0(1mo ago)4130.8k↓42.4%23GPL-3.0-or-laterPHPPHP &gt;=7.4CI failing

Since May 11Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/pronamic/wp-datetime)[ Packagist](https://packagist.org/packages/pronamic/wp-datetime)[ RSS](/packages/pronamic-wp-datetime/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (30)Versions (23)Used By (3)

WordPress DateTime
==================

[](#wordpress-datetime)

WordPress Filters
-----------------

[](#wordpress-filters)

### pronamic\_datetime\_default\_format

[](#pronamic_datetime_default_format)

```
function prefix_pronamic_datetime_default_format( $format ) {
	return _x( 'D j M Y \a\t H:i', 'default datetime format', 'pronamic-ideal' );
}

add_filter( 'pronamic_datetime_default_format', 'prefix_pronamic_datetime_default_format' );
```

Note `date_i18n`
----------------

[](#note-date_i18n)

It is important to note that `date_i18n()`:

1. does not have full feature parity with `date()`, not all formats are supported (such as shorthands);
2. does not accept Unix timestamp (despite documented to), the expected value is “WordPress timestamp” (offset by time zone);
3. has issues with certain timezone settings, such as numerical ones;
4. does *nothing* with `$gmt` argument under normal circumstances;

Any use of this function must be carefully audited for correctness, *especially* in regards to output of time zones.

Source: [https://developer.wordpress.org/reference/functions/date\_i18n/#comment-2403](https://developer.wordpress.org/reference/functions/date_i18n/#comment-2403)

Inspiration
-----------

[](#inspiration)

-
-

[![Pronamic - Work with us](https://github.com/pronamic/brand-resources/raw/main/banners/pronamic-work-with-us-leaderboard-728x90%404x.png)](https://www.pronamic.eu/contact/)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance89

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 56.1% 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.

###  Release Activity

Cadence

Every ~136 days

Recently: every ~223 days

Total

22

Last Release

57d ago

Major Versions

1.2.2 → 2.0.02022-01-10

PHP version history (4 changes)1.0.0PHP &gt;=5.3

1.1.0PHP &gt;=5.6.20

v2.1.0PHP &gt;=8.0

v2.1.2PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/869674?v=4)[Remco Tolsma](/maintainers/remcotolsma)[@remcotolsma](https://github.com/remcotolsma)

---

Top Contributors

[![remcotolsma](https://avatars.githubusercontent.com/u/869674?v=4)](https://github.com/remcotolsma "remcotolsma (129 commits)")[![rvdsteege](https://avatars.githubusercontent.com/u/10371164?v=4)](https://github.com/rvdsteege "rvdsteege (97 commits)")[![knit-pay](https://avatars.githubusercontent.com/u/65900807?v=4)](https://github.com/knit-pay "knit-pay (4 commits)")

### Embed Badge

![Health badge](/badges/pronamic-wp-datetime/health.svg)

```
[![Health](https://phpackages.com/badges/pronamic-wp-datetime/health.svg)](https://phpackages.com/packages/pronamic-wp-datetime)
```

###  Alternatives

[solvire/php-json-schema-generator

A JSON Schema Generator written in PHP. The implementation is based on current internet drafts.

214.3k](/packages/solvire-php-json-schema-generator)

PHPackages © 2026

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