⏰️ 使 CRON 表达式易于人阅读
⏰️ Makes CRON expressions human-readable
composer require lorisleiva/cron-translator…You may also provide a locale as a second argument and whether to format the time using the 24-hour format as a third argument.
CronTranslator::translate('30 18 * * *', 'fr'); // => Chaque jour à 6:30pm
CronTranslator::translate('30 18 * * *', 'fr', true); // => Chaque jour à 18:30The following locales are currently supported. Feel free to PR more locales if you need them.
ar — Arabiccs — Czechda — Danishde — Germanen — Englishes — Spanishfr — Frenchhi — Hindilv — Latviannl — Dutchpl — Polishpt — Portuguesero — Romanianru — Russiansk — Slovaktr — Turkishua — Ukrainianvi — Vietnamesezh — Simplified Chinesezh-TW — Traditional Chinese暂无开放 Issues,或尚未同步最近议题。