steve-brett/shcalendar 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

steve-brett/shcalendar

Composer 安装命令:

composer create-project steve-brett/shcalendar

包简介

Sacred Harp recurring event calculator

README 文档

README

Formula date manager for Sacred Harp singings

http://stevebrett.nfshost.com/shcalendar/

Annual Sacred Harp singings are organised using date formulae, usually relating to the day's position in the month (e.g. second Sunday), or a special date (e.g. Palm Sunday).

This tool allows for human input of what could be a quite complex recurrence rule by finding all likely formulae for a specific date. The user can then choose their singing formula from a list of options, and then generate future dates.

The current formula uses an array format that extends the RFC 5545 format used by rlanvin/php-rrule.

  • OFFSET : string The offset of the event from the reference day, using the same format as BYDAY.
  • STARTOFFSET : int For multi-day events, how many days the start of the event is before the end.
  • SPECIAL : string The key of an array of special events.

Examples

The Saturday before the second Sunday in May

['BYMONTH' => 5,
   'BYDAY' => '2SU',
  'OFFSET' => '-1SA']

The second Saturday in February

['BYMONTH' => 2,
   'BYDAY' => '2SA']

The third Sunday in September and the Saturday before

[   'BYMONTH' => 9,
      'BYDAY' => '3SU',
'STARTOFFSET' => -1]

The Saturday after the Whitsun bank holiday

['SPECIAL' => 'whitsun',
  'OFFSET' => '1SA']

The Saturday before the first fifth Sunday after the 4th July (yes, this is a real singing!)

['SPECIAL' => '5SU47',
  'OFFSET' => '-1SA']

统计信息

  • 总下载量: 91
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-01-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固