Jump to content

cronjobs


renaudpro

Recommended Posts

Hi,

 

There is a problem on the cron editor. When I select the day of use , it takes time English I feel .

 

I'm french.

There is a problem on the cron editor. When I select the day of use , it takes time English I feel .

post-1236572-0-51097300-1463387904_thumb.png

post-1236572-0-26089700-1463387905_thumb.png

Link to comment
Share on other sites

  • 2 years later...

problem is here:

mktime(0, 0, 0, 0, (int)$cron['day_of_week'])

5th param have to be date("j") not date("w")

$cron['day_of_week'] = ($cron['day_of_week'] == -1) ? self::$module->l('Every day of the week', 'CronJobsForms') : self::$module->l(date('l', mktime(0, 0, 0, 0, (int)$cron['day_of_week'])));

https://github.com/PrestaShop/cronjobs/blob/master/classes/CronJobsForms.php

line: 308

 

Cron task works well, problem is only in list of tasks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...