edit other field that date field change the date field value ( only second)

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256185

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5

Hi
I use unix timestamp storage default date field ( product_sale_start product_sale_end).
When i edit a product that mean i change the value of a field that is not product_sale_start then when i click on save button then the second value of this field change. Since i try filter on that field then my result is random and nothing work !!

Could you please fix that bug that when edit a product without change manually by keyboard the field date that the value second attach to that field don't change . the year mont day value stay to the same value only second change !!! The second can't be edit using the date picker only manually but here i don't change the date value anymore nor by hand/keyborad or by date picker !!

How joomla could be stable if date is store in unix format and second is define by random !!
Why hikashop in joomla 3 dont use joomla date picker that support more ( hour minute ) than the hikashop picker
I m not a core developper but why the second are random beetween the web page form and the rdbms unix timestamp ?

I test on joomla article and edit other field than date don't change the second value in the article edit page mode !!


Attachments:
Last edit: 7 years 11 months ago by lionel75.

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

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256192

for give some information of how date change in the rdbms .
1498593600 after save become 1498590000

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 11 months ago #256193

Here a screenshot from an official Joomla 3.6.4 website and his official date picker.
pasteboard.co/2Gg67g3EC.png

Here the official Calendar in the Joomla core :
github.com/joomla/joomla-cms/blob/stagin...ndar-uncompressed.js

And here the future Calendar in Joomla core :
github.com/joomla/joomla-cms/pull/11138

Before making any kind of criticism ; please be sure that your test and your request are right founded.
And you should also not forget that a part of the HikaShop team is following closely the development of the Joomla core and also provide patchs and improvements...


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256242

You don'think my capture screen are not real or is fake !! The capture screen come from my webserver with joomla 3.6.2 and hikashop 2.6.4 . what i see is that date picker in joomla manage minute second and not the date picker that appear when edit hikashop product .. it is the reality nothing virtual ....

Last edit: 7 years 11 months ago by lionel75.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 11 months ago #256246

Hi,

The Joomla calendar do not handle minutes.
HikaShop is using the Joomla calendar from the Joomla core.
Subject closed.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum