add date/time/holiday check

This commit is contained in:
2020-05-08 19:43:48 -04:00
parent 26c0032053
commit 7726384a2c
3 changed files with 77 additions and 37 deletions

50
composer.lock generated
View File

@@ -4,36 +4,39 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "9d1110731b1633c82d10df7e5b5077a6",
"content-hash": "4a06e0b1ef6a70cff8f6b363a0c3f4bc",
"packages": [
{
"name": "kbsali/redmine-api",
"version": "v1.5.21",
"name": "azuyalabs/yasumi",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/kbsali/php-redmine-api.git",
"reference": "e75295b81e5dc4c858007d8924408e11e49e080c"
"url": "https://github.com/azuyalabs/yasumi.git",
"reference": "87cde7fd22e3e6e3ace9830b145b6a77338757e6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/kbsali/php-redmine-api/zipball/e75295b81e5dc4c858007d8924408e11e49e080c",
"reference": "e75295b81e5dc4c858007d8924408e11e49e080c",
"url": "https://api.github.com/repos/azuyalabs/yasumi/zipball/87cde7fd22e3e6e3ace9830b145b6a77338757e6",
"reference": "87cde7fd22e3e6e3ace9830b145b6a77338757e6",
"shasum": ""
},
"require": {
"ext-curl": "*",
"ext-json": "*",
"ext-simplexml": "*",
"php": "^5.4 || ^7.2"
"php": ">=7.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.0",
"phpunit/phpunit": "^4.8.36 || ^5.4.8 || ^6.0"
"friendsofphp/php-cs-fixer": "^2.14",
"fzaninotto/faker": "~1.8",
"mikey179/vfsstream": "~1.6",
"phpunit/phpunit": "~8.4"
},
"suggest": {
"ext-calendar": "For calculating the date of Easter"
},
"type": "library",
"autoload": {
"psr-4": {
"Redmine\\": "src/Redmine/"
"Yasumi\\": "src/Yasumi/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -42,18 +45,23 @@
],
"authors": [
{
"name": "Kevin Saliou",
"email": "kevin@saliou.name",
"homepage": "http://kevin.saliou.name"
"name": "Sacha Telgenhof",
"email": "me@sachatelgenhof.com"
}
],
"description": "Redmine API client",
"homepage": "https://github.com/kbsali/php-redmine-api",
"description": "Yasumi is an easy PHP Library for calculating national holidays.",
"keywords": [
"api",
"redmine"
"Bank",
"calculation",
"calendar",
"celebration",
"date",
"holiday",
"holidays",
"national",
"time"
],
"time": "2019-03-15T17:37:16+00:00"
"time": "2019-10-06T03:09:18+00:00"
},
{
"name": "phpoption/phpoption",