Date picker
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf 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.
Quote from Thierry on January 6, 2020, 03:41Hi
I am very satisfied with Woof, except one point...
I have a date metadata for products. The date format is yy-mm-dd (2020-01-05 for 2020 january 5th)
When setting up a filter for this meta field, the format I chose for the date is the same (ISO8601).
But it does not work
Looking at the url that is setup when applying this filter, it seems that the chosen date is converted to timestamp.
And in that case, I do not understand why to chose a date format in the filter, if whatever the format you chose, the date is converted to timestamp, except if Woof converts my date metadata also to timestamp...
Am I right? Do I do something wrong? I have tried metadata filter on other metadata, numbers or strings, and everything worked fine.
Other point: is there a way to localize the date picker?
Many thanks!
Thierry
Hi
I am very satisfied with Woof, except one point...
I have a date metadata for products. The date format is yy-mm-dd (2020-01-05 for 2020 january 5th)
When setting up a filter for this meta field, the format I chose for the date is the same (ISO8601).
But it does not work
Looking at the url that is setup when applying this filter, it seems that the chosen date is converted to timestamp.
And in that case, I do not understand why to chose a date format in the filter, if whatever the format you chose, the date is converted to timestamp, except if Woof converts my date metadata also to timestamp...
Am I right? Do I do something wrong? I have tried metadata filter on other metadata, numbers or strings, and everything worked fine.
Other point: is there a way to localize the date picker?
Many thanks!
Thierry
Quote from Pablo Borysenco on January 6, 2020, 13:30Hello Thierry
the format I chose for the date is the same (ISO8601). - This is for frontend only.
Try to check this option - https://c2n.me/45nXZfO.png and do test
Hello Thierry
the format I chose for the date is the same (ISO8601). - This is for frontend only.
Try to check this option - https://c2n.me/45nXZfO.png and do test
Quote from Thierry on January 6, 2020, 14:25Hello Pablo
Thanks for your answer.
The option you mention is already the one I am using.
To be more precise about my "timestamp feeling", here is the url slug after searching with a start date and an end date (product-date is the name of my metadata):
datepicker_product-date=1579388399-1580511599
So some conversion may be needed somewhere...
Hello Pablo
Thanks for your answer.
The option you mention is already the one I am using.
To be more precise about my"timestamp feeling", here is the url slug after searching with a start date and an end date (product-date is the name of my metadata):
datepicker_product-date=1579388399-1580511599
So some conversion may be needed somewhere...
Quote from Thierry on January 6, 2020, 19:47Hello everybody
I answer to myself :-)
I have added a timestamp field to my products
The datepicker is now OK, but with a number field, not a date one.
For translations, I have setup a .po french file from US one for "From" and "To" strings
And for date picker I have added
closeText: 'Fermer',
prevText: 'Précédent',
nextText: 'Suivant',
currentText: 'Aujourd\'hui',
monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
monthNamesShort: ['Janv.', 'Févr.', 'Mars', 'Avril', 'Mai', 'Juin', 'Juil.', 'Août', 'Sept.', 'Oct.', 'Nov.', 'Déc.'],
dayNames: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
dayNamesShort: ['Dim.', 'Lun.', 'Mar.', 'Mer.', 'Jeu.', 'Ven.', 'Sam.'],
dayNamesMin: ['D', 'L', 'Ma', 'Me', 'J', 'V', 'S'],
weekHeader: 'Sem.',
in the datepicker parameters in datepicker.js
Filtering is OK with all this.
But.... there is quite a big layout bug elsewhere. I will open a new thread for this bug.
This thread can be marked as solved.
Kind regards
Thierry
Thi
Hello everybody
I answer to myself :-)
I have added a timestamp field to my products
The datepicker is now OK, but with a number field, not a date one.
For translations, I have setup a .po french file from US one for"From" and"To" strings
And for date picker I have added
closeText: 'Fermer',
prevText: 'Précédent',
nextText: 'Suivant',
currentText: 'Aujourd\'hui',
monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
monthNamesShort: ['Janv.', 'Févr.', 'Mars', 'Avril', 'Mai', 'Juin', 'Juil.', 'Août', 'Sept.', 'Oct.', 'Nov.', 'Déc.'],
dayNames: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
dayNamesShort: ['Dim.', 'Lun.', 'Mar.', 'Mer.', 'Jeu.', 'Ven.', 'Sam.'],
dayNamesMin: ['D', 'L', 'Ma', 'Me', 'J', 'V', 'S'],
weekHeader: 'Sem.',
in the datepicker parameters in datepicker.js
Filtering is OK with all this.
But.... there is quite a big layout bug elsewhere. I will open a new thread for this bug.
This thread can be marked as solved.
Kind regards
Thierry
Thi
Quote from Pablo Borysenco on January 7, 2020, 12:36Hello Thierry
Ok! Welcome;)
Hello Thierry
Ok! Welcome;)