Skip to main content

custom product field date time

More
11 years 5 months ago - 11 years 5 months ago #197394 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
Last edit: 11 years 5 months ago by lionel75.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #197466 by Jerome
Hi,

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"
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,

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.

More
11 years 5 months ago #197508 by lionel75
So i can change the date picker by another one that support date !!
Great !! Thank's a lot .....

Please Log in or Create an account to join the conversation.

Time to create page: 0.136 seconds
Powered by Kunena Forum