All subscriptions end at 00:00

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Jens3456
Posts: 5
Joined: 24 Sep 2023, 00:03

All subscriptions end at 00:00

Post by Jens3456 » 29 Sep 2023, 04:42

I tried different subscriptions (1h, 24h).

When I examine the start, renew and end times of these subscriptions in the customer account plugin, I notice that only the "Created" entry has the correct date and time.
The Renew entry points to the correct date but 00:00. This means that a 1-hour subscription that was created at 21:15. will not be renewed or ended until 00:00.
A 24-hour subscription only occurs at the end of the following day.

Is it possible to use the subscriptions on an hourly basis? In the code, the times are processed correctly in the format (Y-m-d H:i:s), but at the end it is always Y-m-d 00:00.

Used versions: Typo3 12, Aimeos 2023 and PHP 8.1.

Many thanks

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: All subscriptions end at 00:00

Post by aimeos » 29 Sep 2023, 07:08

Now, hours/minutes/seconds will be used when renewing subscriptions:
https://github.com/aimeos/ai-controller ... b8957c480a

The change will be part of the next release or you can use it by executing:

Code: Select all

composer req aimeos/ai-controller-jobs:2023.07.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply