Hi
because i still study date in SQL -> php -> javascript .; i find that the same value store in MySql has a different view in the JOoùla Backend for custom field .
In this composite/blend capture screen : 3 capture screen
1- creation of field of name quand and jomla type "simple date picker "
2- list of custom field focus on the name quand
3- product page focus on the custom field view area
AS you can see some information missing ( the time in product page !!) .
So in a non edit mode ( view) all information appear ( date and time) and in edit mode ( <input>) time disseppear !!
IT is quiet disturbing , a non sense . Is this behaviour come from joomla or hikashop ?
it ll be not so stupid to add a non edit area to know the real value when edit AND save ? ( the edit area field quand ) ?
For understand how date is manage by hikashop and joomla it really need time and knowledge and many testings steps !!!
For give all information about the chain from mysql to html ,
1- the hks quand field in mysql has a SQL type TEXT and is "raw" rendering using an sql editor seem 2015-04-18 16:30:00 . I write "raw" with because the storage are binaries data (
blob
) for type text . .... so my mySQL editor to some work to convert binaries data ( can not be understand) to text data ( readeable can be understand ) .
2- Joomla ll be store this date in SQL storage using SQL type int(10) unsigned . So the SQL editor ll show storage values of 1429374600 . this value can be convert to 2015-04-18 16:30:00 using SQL or php function. In sql you ll have to use 2 function and a formated "scheme" ?
SELECT date_format(from_unixtime(joomla_fieldNameColumn_int16),_utf8'%Y-%m-%d %H:%i:%s') from joomla_tableName ;
After read my
other post
about date time picker , i understand we can format date in joomla level ( with the ini file) or hikashop level ( in the back end when use custom field ) and perhaps using another way like
language override
( really bad ? menu name ? ) .
How can i change the <input> value format for the field quand in hikasop product edit mode ?
( if we can ....)
regard's