the-coding-owl / oclock
此扩展在TYPO3后端提供时钟功能,并提供了一些实用的功能。
0.0.10
2023-05-22 23:52 UTC
Requires
- typo3/cms-backend: ^10.1.0 || ^11.5.0 || ^12.0.0
- typo3/cms-core: ^10.1.0 || ^11.5.0 || ^12.0.0
- typo3/cms-fluid: ^10.1.0 || ^11.5.0 || ^12.0.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.2
- phpstan/extension-installer: ^1.1.0
- phpstan/phpstan: ^1.0.1
- roave/security-advisories: dev-master
- saschaegerer/phpstan-typo3: ^1.0.0
- squizlabs/php_codesniffer: ^3.6.1
Suggests
- typo3/cms-dashboard: Make usage of the TYPO3 dashboard and the widgets provided by this extension
Replaces
- typo3-ter/oclock: 0.0.10
README
简介
此扩展向TYPO3后端添加了一个简单的时钟,可以用来查看服务器和浏览器的时间及时区。
安装
您可以通过后端扩展管理器在TYPO3扩展仓库中找到此扩展,或者访问 https://extensions.typo3.org 下载它。如果您的项目启用了composer,也可以通过输入 composer require the-coding-owl/oclock
来安装。
配置
目前没有可用的配置。
使用
要显示时间和时区,您不需要进行任何配置。信息将在TYPO3后端的顶部工具栏中显示。时间将自动跳动,但请注意,它不会与服务器同步。因此,如果您暂停计算机,计时器可能会停止,并因为此原因而失去同步。在这种情况下,请重新加载您的后端。
贡献
如果您发现任何问题,请在此处提交错误报告 https://github.com/the-coding-owl/oclock/issues。您还可以通过在github上打开pull请求来贡献代码。对于功能请求,也请使用github问题跟踪器。
致谢
感谢Luxon团队(https://moment.github.io/luxon/index.html),因为他们使得JavaScript能够处理时区。