- Posts: 846
- Thank you received: 92
custom product field date time
11 years 5 months ago - 11 years 5 months ago #197394
by lionel75
custom product field date time was created by lionel75
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.8
-- PHP version -- : 5.5.8
Hi
1) when i try custom field and use date picker , hikashop show me incorrect date format !!
2) Is there a way to support data and time in custom field type instead the only date ?
3)
the HKS date picker come from dynarch.com/mishoo/ locate in joomla\media\system\js\calendar-setup-uncompressed.js . The date format i think must follow php syntax find in php.net/manual/en/datetime.format.php
so how can i use " Y-m-d H:i:s" instead d/mY ?
thank's
-- Joomla version -- : 2.5.8
-- PHP version -- : 5.5.8
Hi
1) when i try custom field and use date picker , hikashop show me incorrect date format !!
2) Is there a way to support data and time in custom field type instead the only date ?
3)
the HKS date picker come from dynarch.com/mishoo/ locate in joomla\media\system\js\calendar-setup-uncompressed.js . The date format i think must follow php syntax find in php.net/manual/en/datetime.format.php
so how can i use " Y-m-d H:i:s" instead d/mY ?
thank's
Last edit: 11 years 5 months ago by lionel75.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #197466
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic custom product field date time
Hi,
1) Please be sure that you did not change the date format using a translation.
HikaShop allow to change the date format in your all website thanks to a translations ; but with the Joomla modifications, some date format can't not be managed correctly by the Joomla system.
2) The Joomla datepicker or the jQuery-ui datepicker does not provide time selection feature, only date.
But you can enter the time manually in the field.
3) See my previous points.
There is no "HKS date picker", there is just the Joomla date picker (which comes from Joomla itself) and the jQuery date picker which comes from jQuery-ui.
Regards,
1) Please be sure that you did not change the date format using a translation.
Code:
HIKASHOP_DATE_FORMAT="%Y-%m-%d"
HIKASHOP_EXTENDED_DATE_FORMAT="%Y-%m-%d %H:%M"
2) The Joomla datepicker or the jQuery-ui datepicker does not provide time selection feature, only date.
But you can enter the time manually in the field.
3) See my previous points.
There is no "HKS date picker", there is just the Joomla date picker (which comes from Joomla itself) and the jQuery date picker which comes from jQuery-ui.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: lionel75
Please Log in or Create an account to join the conversation.
11 years 5 months ago #197508
by lionel75
Replied by lionel75 on topic custom product field date time
So i can change the date picker by another one that support date !!
Great !! Thank's a lot .....
Great !! Thank's a lot .....
Please Log in or Create an account to join the conversation.
Time to create page: 0.136 seconds