|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
require_once('config.php');
|
|
|
|
|
require_once('/data/config.php');
|
|
|
|
|
require_once('shared.php');
|
|
|
|
|
|
|
|
|
|
// === BEGIN ===
|
|
|
|
@ -346,7 +346,8 @@ DEBUG and botlog('handle callback query');
|
|
|
|
|
$text = htmlspecialchars($msg->message->text);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$dateObj = DateTime::createFromFormat('Y-n-j-G', $currentTab['year'] . '-' . $currentTab['month'] . '-' . $currentTab['day'] . '-' . $callback_data);
|
|
|
|
|
$dateObj = DateTime::createFromFormat('Y-n-j-G-e', $currentTab['year'] . '-' . $currentTab['month'] . '-' . $currentTab['day'] . '-' . $callback_data . '-Europe/Rome');
|
|
|
|
|
$dateObj->setTimezone(new DateTimeZone('UTC'));
|
|
|
|
|
$formattedDate = $dateObj->format('Y-m-d H:i:s');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|