use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Model\User;
-use Friendica\Util\Temporal;
+use Friendica\Util\DateTimeFormat;
function testdrive_install() {
return;
$r = q("UPDATE user set account_expires_on = '%s' where uid = %d",
- dbesc(Temporal::convert('now +' . $days . ' days')),
+ dbesc(DateTimeFormat::convert('now +' . $days . ' days')),
intval($uid)
);
]);
q("update user set expire_notification_sent = '%s' where uid = %d",
- dbesc(Temporal::utcNow()),
+ dbesc(DateTimeFormat::utcNow()),
intval($rr['uid'])
);