PHPackages                             adamjenkins/moodle-tiny\_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-tiny\_timezone

ActiveMoodle-tiny

adamjenkins/moodle-tiny\_timezone
=================================

A TinyMCE editor plugin that lets a user insert a date and time in their own timezone, converted for viewers by the companion filter\_timezone plugin

v1.1.1(3w ago)00GPL-3.0-or-laterJavaScriptCI passing

Since Jul 12Pushed 3w agoCompare

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

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

Timezone date/time (Tiny editor plugin)
=======================================

[](#timezone-datetime-tiny-editor-plugin)

A TinyMCE editor plugin that lets a user insert a date and time in their own timezone, wrapped in a `` tagged with that timezone. The companion **Timezone** text filter (`filter_timezone`) reads this markup and converts it to the viewing user's own timezone wherever the content is displayed.

Adds an "Insert date/time with timezone" button (and matching Insert-menu item) to the TinyMCE toolbar. Clicking it opens a dialogue with a date/time picker and a timezone selector populated from Moodle's own list of IANA timezones, then inserts:

```

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

```

The visible text always includes the timezone in parentheses, so the date/time remains unambiguous even if `filter_timezone` is not installed or is disabled — that text is the only thing anyone sees in that case.

Clicking the button again with the cursor inside an existing span edits that span in place rather than inserting a duplicate.

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

[](#requirements)

- Moodle 5.0 or later (CI-tested on Moodle 5.1 and 5.2)
- PHP 8.2 or later
- The `editor_tiny` subsystem (TinyMCE editor, included with Moodle core)

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

[](#installation)

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

Pair it with the `filter_timezone` plugin to have inserted date/times actually convert for viewers; without it, the inserted text is still shown but never converted.

Setup
=====

[](#setup)

No configuration is required. Any user with the `tiny/timezone:use` capability (allowed for all users by default) will see the toolbar button in any TinyMCE editor.

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

Maturity35

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 ~22 days

Total

2

Last Release

27d 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 (11 commits)")

### Embed Badge

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

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

PHPackages © 2026

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