Browse Source

use p3k\timezone library

pull/39/head
Aaron Parecki 4 years ago
parent
commit
693cb9d636
No known key found for this signature in database GPG Key ID: 276C2817346D6056
3 changed files with 70 additions and 22712 deletions
  1. +2
    -2
      composer.json
  2. +68
    -30
      composer.lock
  3. +0
    -22680
      lib/Timezone.php

+ 2
- 2
composer.json View File

@ -5,7 +5,8 @@
"mf2/mf2": "~0.3",
"ezyang/htmlpurifier": "4.*",
"indieweb/link-rel-parser": "0.1.*",
"dg/twitter-php": "^3.6"
"dg/twitter-php": "^3.6",
"p3k/timezone": "*"
},
"autoload": {
"files": [
@ -13,7 +14,6 @@
"controllers/Main.php",
"controllers/Parse.php",
"controllers/Token.php",
"lib/Timezone.php",
"lib/HTTPCurl.php",
"lib/HTTPStream.php",
"lib/HTTP.php",

+ 68
- 30
composer.lock View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "e5c15a7976be20fd9ed6f7cc48096672",
"content-hash": "0a5322d457812e527b5bd2b8c34d205d",
"packages": [
{
"name": "dg/twitter-php",
@ -240,20 +240,23 @@
},
{
"name": "league/plates",
"version": "3.1.1",
"version": "3.3.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/plates.git",
"reference": "2d8569e9f140a70d6a05db38006926f7547cb802"
"reference": "b1684b6f127714497a0ef927ce42c0b44b45a8af"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/plates/zipball/2d8569e9f140a70d6a05db38006926f7547cb802",
"reference": "2d8569e9f140a70d6a05db38006926f7547cb802",
"url": "https://api.github.com/repos/thephpleague/plates/zipball/b1684b6f127714497a0ef927ce42c0b44b45a8af",
"reference": "b1684b6f127714497a0ef927ce42c0b44b45a8af",
"shasum": ""
},
"require": {
"php": "^5.3 | ^7.0"
},
"require-dev": {
"mikey179/vfsstream": "~1.4.0",
"mikey179/vfsstream": "^1.4",
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~1.5"
},
@ -288,7 +291,7 @@
"templating",
"views"
],
"time": "2015-07-09T02:14:40+00:00"
"time": "2016-12-28T00:14:17+00:00"
},
{
"name": "league/route",
@ -444,18 +447,53 @@
],
"time": "2016-03-25T23:46:52+00:00"
},
{
"name": "p3k/timezone",
"version": "0.1.0",
"source": {
"type": "git",
"url": "https://github.com/aaronpk/p3k-timezone.git",
"reference": "68d3490d896f98cf0727dc937f0bb6b045050c83"
},
"require": {
"php": ">=5.4.0"
},
"type": "library",
"autoload": {
"files": [
"src/p3k/Timezone.php"
]
},
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Aaron Parecki",
"homepage": "https://aaronparecki.com"
}
],
"description": "Find the timezone of a given location",
"homepage": "https://github.com/aaronpk/p3k-timezone",
"keywords": [
"date",
"p3k",
"timezone"
],
"time": "2017-01-12T17:30:08+00:00"
},
{
"name": "symfony/http-foundation",
"version": "v2.8.4",
"version": "v2.8.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "06d6b2c755b2f34ce21e688b62072e9c625709c4"
"reference": "216c111ac427f5f773c6a8bfc0c15f0a7dd74876"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/06d6b2c755b2f34ce21e688b62072e9c625709c4",
"reference": "06d6b2c755b2f34ce21e688b62072e9c625709c4",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/216c111ac427f5f773c6a8bfc0c15f0a7dd74876",
"reference": "216c111ac427f5f773c6a8bfc0c15f0a7dd74876",
"shasum": ""
},
"require": {
@ -497,20 +535,20 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
"time": "2016-03-27T12:57:53+00:00"
"time": "2016-11-27T04:20:28+00:00"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.1.1",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "1289d16209491b584839022f29257ad859b8532d"
"reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d",
"reference": "1289d16209491b584839022f29257ad859b8532d",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
"reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
"shasum": ""
},
"require": {
@ -522,7 +560,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
"dev-master": "1.3-dev"
}
},
"autoload": {
@ -556,20 +594,20 @@
"portable",
"shim"
],
"time": "2016-01-20T09:13:37+00:00"
"time": "2016-11-14T01:06:16+00:00"
},
{
"name": "symfony/polyfill-php54",
"version": "v1.1.1",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php54.git",
"reference": "9ba741ca01c77282ecf5796c2c1d667f03454ffb"
"reference": "90e085822963fdcc9d1c5b73deb3d2e5783b16a0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php54/zipball/9ba741ca01c77282ecf5796c2c1d667f03454ffb",
"reference": "9ba741ca01c77282ecf5796c2c1d667f03454ffb",
"url": "https://api.github.com/repos/symfony/polyfill-php54/zipball/90e085822963fdcc9d1c5b73deb3d2e5783b16a0",
"reference": "90e085822963fdcc9d1c5b73deb3d2e5783b16a0",
"shasum": ""
},
"require": {
@ -578,7 +616,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
"dev-master": "1.3-dev"
}
},
"autoload": {
@ -614,20 +652,20 @@
"portable",
"shim"
],
"time": "2016-01-25T19:13:00+00:00"
"time": "2016-11-14T01:06:16+00:00"
},
{
"name": "symfony/polyfill-php55",
"version": "v1.1.1",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php55.git",
"reference": "b4f3f07d91702f8f926339fc4fcf81671d8c27e6"
"reference": "03e3f0350bca2220e3623a0e340eef194405fc67"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php55/zipball/b4f3f07d91702f8f926339fc4fcf81671d8c27e6",
"reference": "b4f3f07d91702f8f926339fc4fcf81671d8c27e6",
"url": "https://api.github.com/repos/symfony/polyfill-php55/zipball/03e3f0350bca2220e3623a0e340eef194405fc67",
"reference": "03e3f0350bca2220e3623a0e340eef194405fc67",
"shasum": ""
},
"require": {
@ -637,7 +675,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
"dev-master": "1.3-dev"
}
},
"autoload": {
@ -670,7 +708,7 @@
"portable",
"shim"
],
"time": "2016-01-20T09:13:37+00:00"
"time": "2016-11-14T01:06:16+00:00"
}
],
"packages-dev": [],

+ 0
- 22680
lib/Timezone.php
File diff suppressed because it is too large
View File


Loading…
Cancel
Save