承接 xypp/flarum-localize-date-lib 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xypp/flarum-localize-date-lib

最新稳定版本:v1.0.1

Composer 安装命令:

composer require xypp/flarum-localize-date-lib

包简介

Datezone configure and date event lib

关键字:

README 文档

README

License Latest Stable Version Total Downloads

A Flarum extension. Datezone configure and date event lib

Installation

As normal user, You will never have to install the extension manually.

Develop

Frontend

The timezone will be serialized to forum model on attribute xypp.localize-date.timezone.

You can use our export function to get some value

  • toServerTimezone
  • serverDateChangeAt

Backend

Use IOC to get the helper CarbonZoneHelper

$newCarbonObj = $helper->z($carbonObj);//set timezone to the carbon object

$now = $helper->now();//get current time in target timezone

Event DateChangeEvent will trigger in 00:xx:xx every day.

It's not guaranteed that the event will be triggered at exactly which minute or second.

Links

统计信息

  • 总下载量: 1.82k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 6
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固