PHPackages                             adamjenkins/moodle-filter\_timezone - 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. adamjenkins/moodle-filter\_timezone

ActiveMoodle-filter

adamjenkins/moodle-filter\_timezone
===================================

Converts date/time spans inserted by the companion tiny\_timezone TinyMCE plugin from the timezone they were authored in to the timezone of the viewing user

v1.1.2(3w ago)00GPL-3.0-or-laterPHPCI passing

Since Jul 12Pushed 3w agoCompare

[ Source](https://github.com/adamjenkins/moodle-filter_timezone)[ Packagist](https://packagist.org/packages/adamjenkins/moodle-filter_timezone)[ RSS](/packages/adamjenkins-moodle-filter-timezone/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Timezone filter
===============

[](#timezone-filter)

Converts date/time spans inserted by the companion **Timezone date/time** TinyMCE plugin (`tiny_timezone`) from the timezone they were authored in to the timezone of the user currently viewing the page.

This filter looks for markup like:

```

  2026-06-24 14:00 (Asia/Tokyo)

```

and rewrites the visible text to the viewer's own timezone, e.g. `2026-06-24 17:00 (Pacific/Auckland)` for a viewer in New Zealand. The timezone the date/time was converted to is always shown alongside it.

If this filter is disabled, the original text (with the source timezone shown in parentheses) is displayed unchanged — there is no broken or ambiguous fallback.

Requirements
============

[](#requirements)

- Moodle 5.0 or later (CI-tested on Moodle 5.1 and 5.2)
- PHP 8.2 or later
- The `tiny_timezone` plugin (or any other source) producing the `` markup

Installation
============

[](#installation)

**From GitHub:**Download the ZIP, extract into `filter/timezone/`, then log in as admin and go to *Site Administration → Notifications* to run the database upgrade.

Setup
=====

[](#setup)

1. Go to *Site Administration → Plugins → Filters → Manage filters*.
2. Set **Timezone** to *On*.
3. Use the `tiny_timezone` editor plugin to insert date/time spans, or generate the markup directly from another plugin.

Settings
========

[](#settings)

*Site Administration → Plugins → Filters → Timezone* lets you choose the date/time display format used for converted dates. Each option is one of Moodle's own language pack format strings (e.g. `strftimedatetimeshort`), shown with a live rendered example so you can see exactly how it will look before saving.

Privacy
=======

[](#privacy)

This plugin does not store any personal data.

Compatibility
=============

[](#compatibility)

MoodlePHPStatus5.28.3, 8.4✓ CI5.18.2, 8.3, 8.4✓ CICI runs on PostgreSQL and MariaDB for all combinations above.

License
=======

[](#license)

GNU GPL v3 or later — see

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance94

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Every ~12 days

Total

3

Last Release

25d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c85ec09253e9a275a2586a0551aeea7e319d9560b0fcc4b7b41357b50e847e15?d=identicon)[wisecat](/maintainers/wisecat)

---

Top Contributors

[![adamjenkins](https://avatars.githubusercontent.com/u/11323818?v=4)](https://github.com/adamjenkins "adamjenkins (12 commits)")

### Embed Badge

![Health badge](/badges/adamjenkins-moodle-filter-timezone/health.svg)

```
[![Health](https://phpackages.com/badges/adamjenkins-moodle-filter-timezone/health.svg)](https://phpackages.com/packages/adamjenkins-moodle-filter-timezone)
```

PHPackages © 2026

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