Translations:Rule Examples/148/ru
Версия от 20:26, 21 сентября 2022; FuzzyBot (обсуждение | вклад) (Импортирована новая версия из внешнего источника)
if (end_date >= start_date) {
if ((now >= start_date) && (now < end_date)) { return true; } } else { // end date is less than start date, // assuming they belong to a different days (e.g. today and tomorrow)