Skip to content

Commit

Permalink
Add note about config with timezone example
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler36 committed Nov 10, 2023
1 parent f321f43 commit 7cce4d4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [WordPress](#wordpress)
- [Silverstripe](#silverstripe)
- [Usage](#usage)
- [Configuration](#configuration)

## Introduction

Expand Down Expand Up @@ -134,4 +135,18 @@ Use the following command to check the logs:
ddev logs -s xhgui
```
## Configuration
To configure Xhgui, update `.ddev/xhgui/xhgui.config.php`.
For example, to set xhgui to use `Asia/Toyko` timezone for dates:
- Remove `#ddev-generated` from `.ddev/xhgui/xhgui.config.php`
- Change the timezone value
```php
'timezone' => 'Asia/Tokyo',
'date.format' => 'Y-m-d H:i:s',
```
**Contributed and maintained by [@tyler36](https://github.com/tyler36) based on the original [ddev-contrib PR](https://github.com/ddev/ddev-contrib/pull/128) by [@penyaskito](https://github.com/penyaskito)**

0 comments on commit 7cce4d4

Please sign in to comment.