PHPackages                             et-innovations/silverstripe-localdatetime - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. et-innovations/silverstripe-localdatetime

ActiveSilverstripe-module[Localization &amp; i18n](/categories/localization)

et-innovations/silverstripe-localdatetime
=========================================

Localized Date, Time &amp; Date-Time fields for SilverStripe

4.x-dev(4y ago)0152MITPHPCI failing

Since Sep 1Pushed 4y ago3 watchersCompare

[ Source](https://github.com/et-innovations/silverstripe-localdatetime)[ Packagist](https://packagist.org/packages/et-innovations/silverstripe-localdatetime)[ Docs](http://et-innovations.org)[ RSS](/packages/et-innovations-silverstripe-localdatetime/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

silverstripe-localdatetime
==========================

[](#silverstripe-localdatetime)

Translatable fieldtypes for:

- Date
- Time
- DateTime

Maintainer Contact
------------------

[](#maintainer-contact)

- Hernold Koch

Requirements
------------

[](#requirements)

- SilverStripe 3.0

Installation
------------

[](#installation)

Install via composer `composer require et-innovations/silverstripe-localdatetime`or extract the contents of this repository into the root-folder of your project.

Usage Overview
--------------

[](#usage-overview)

Simply create the wished field in the array `$db`:

```
class MyDataObject extends DataObject {

	public static $db = array(
		'SomeDateField' => "LocalDate",
		'SomeTimeField' => "LocalTime",
		'SomeDateTimeField' => "LocalDatetime",
	);

}

```

To get translated value in GridField, you need to declare a function with the same name as the field and return the value as wished:

```
class MyDataObject extends DataObject {

	...

	public function SomeDateField() {
		if($this->{__FUNCTION__})
			return DBField::create_field('LocalDate', $this->{__FUNCTION__})->Nice();
	}

}

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1764d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74477aaa40ad5c23ecf1d865a423182de9d6957ca20944f275fe4d95f044adfa?d=identicon)[ChristophRieger](/maintainers/ChristophRieger)

![](https://www.gravatar.com/avatar/d10dae73586605cde517627d88ec23dab745f0d9e2b1bdc3c110df0db8db9030?d=identicon)[et-innovations](/maintainers/et-innovations)

---

Top Contributors

[![hkoch-et](https://avatars.githubusercontent.com/u/14055741?v=4)](https://github.com/hkoch-et "hkoch-et (6 commits)")[![et-innovations](https://avatars.githubusercontent.com/u/13717594?v=4)](https://github.com/et-innovations "et-innovations (3 commits)")[![ChristophRieger](https://avatars.githubusercontent.com/u/87366450?v=4)](https://github.com/ChristophRieger "ChristophRieger (2 commits)")

---

Tags

i18nsilverstripedatetimetimedatelocallocale

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/et-innovations-silverstripe-localdatetime/health.svg)

```
[![Health](https://phpackages.com/badges/et-innovations-silverstripe-localdatetime/health.svg)](https://phpackages.com/packages/et-innovations-silverstripe-localdatetime)
```

###  Alternatives

[moment/moment

Parse, validate, manipulate, and display dates in JavaScript.

48.1k2.1M37](/packages/moment-moment)[jenssegers/date

A date library to help you work with dates in different languages

1.8k11.2M80](/packages/jenssegers-date)[fightbulc/moment

Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js

9693.2M10](/packages/fightbulc-moment)[timrwood/moment

Parse, validate, manipulate, and display dates in JavaScript.

48.0k17.2k](/packages/timrwood-moment)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[punic/punic

PHP-Unicode CLDR

1542.9M29](/packages/punic-punic)

PHPackages © 2026

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