PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Date translating - WOOT

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I have same problem as guy had couple days ago. I did everything you have advised but it isn't working.

What I did:

  • Edited Woocommerce.php code
  • Translated date through Loco Translate
  • Translated date through Vocabulary
  • Used hook and added code to functions.php

I'm still seeing "April" as month, although I've translated it to another word.

Thanks for help

Hello

Try  in  file  - plugins\woot-products-tables\profiles\woocommerce\woocommerce.php  - add code - https://c2n.me/4bS3Uv1.png

setlocale(LC_TIME, get_locale());
return strftime('%d %B %Y', strtotime($post->post_date));

Hello,

sorry but I already tried it. In my first post I said I edited woocommerce.php code.

And it still isn't working. No idea what more can I do.

Hello

Ok ! Please  drop  me wp-admin+FTP access  - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png

Building on localhost. Can't do that. Can u guide me what can I do next?

Thanks :)

Hello

Unfortunately, I don’t know why this doesn’t work on your site. And so I need access to investigate this.

What do you need to check?

Hello

I  need  wp-admin  access to  check  settings  and  FTP  access  to a  folder  of  my  plugin

I can screenshot you everything you need to check. Just tell me which files :) Can't give you wp-admin access, because it's on localhost.

Hello

Drop  me  screenshots  of  your  changes on woot-products-tables\profiles\woocommerce\woocommerce.php

and the table  on  front-end

I'm sorry, already changed it to only number format. Couldn't wait forever for solution. Thank you though.

Hello

Welcome;)

TEMPORARY FIX

For users who have also problem with this. Just go into woocommerce.php file in plugin-folder\profiles\woocommerce\.

Remove line starting with "return date..." (should be 851) and replace it with:

setlocale(LC_TIME, get_locale()); --- this line is propably useless in this temporary fix, haven't tested, so don't rely on it
return strftime('%d. %m. %Y', strtotime($post->post_date)); --- my date is looking as this - 7.5.2021 (day,month,year)

d - day (number format), m - month (number format), y - year (4 digit year) --- these parameters can be found here - https://www.php.net/manual/en/function.strftime.php.

You can also change the order of them in "return strftime" line or exchange them for other parameters from php.net site.

 

 

Hello

Ok!  Thank you  for  cooperation