jmbtechnologylimited / parsedatetimerangestring
接受一个包含日期和时间范围的字符串,尝试将其解析为日期对象。
v1.0.4
2015-03-31 06:58 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- satooshi/php-coveralls: dev-master
This package is auto-updated.
Last update: 2024-09-17 09:28:15 UTC
README
ParseDateTimeRangeString PHP Composer Library ============================================= Takes in a string representing a date time range, the current time and timezone. Hopefully returns two \DateTime objects with start and end time. Currently horribly European & English centric. Sorry. Download using composer: https://packagist.org.cn/packages/jmbtechnologylimited/parsedatetimerangestring Used in http://ican.openacalendar.org/ Rules for version numbers: Minor upgrades (x.x.+1) will not change the API. Other upgrades (x.+1.0 or +1.0.0) might.