Keyword

Stop publishing time automatically on 00:00:00

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 10 months ago #162455 by Uzi
Hello,

Is it possible to change the K2 functionality to put 00:00:00 in the timebox if I select a date in the stop publishing field?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162464 by Krikor Boghossian
Replied by Krikor Boghossian on topic Stop publishing time automatically on 00:00:00
Hello Yuzi,

Which version of K2 are you using?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 10 months ago #162485 by Uzi
I'm using version 2.7.2.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162490 by Krikor Boghossian
Replied by Krikor Boghossian on topic Stop publishing time automatically on 00:00:00
Hello Yuzi,

jmp.sh/40NvRh8
jmp.sh/8jZCcni

Both 2.7.x and 2.8 work as expected in terms of the field.
The correct date/ time is selected and the value is stored properly.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 10 months ago #162498 by Uzi
You misunderstood me. It is working now as intended, namely it picks the current time if you select a date.

But I actually want to change this that the time always will be automatically be 00:00:00

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162516 by Krikor Boghossian
Replied by Krikor Boghossian on topic Stop publishing time automatically on 00:00:00
You can hack the core form files, although this is a bad idea.
I would suggest using a custom plugin and manually setting the time for that field.
A simple JS script might do the trick.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum