Keyword

Wrong date on first daily Post

  • Abdalla Lima
  • Abdalla Lima's Avatar Topic Author
  • Offline
  • New Member
More
6 years 8 months ago - 6 years 8 months ago #163024 by Abdalla Lima
Wrong date on first daily Post was created by Abdalla Lima
greetings everyone

I'm developing a web site with blog session in K2 extension for Joomla.

When I creates the first Article/Post of the day (on frontend), it's date appear like "29/11/-0001" .

For fix this, I have to login on administrator (backend) to alter creates and publication dates.

From the second Item onwards all works fine...

My system date/time is correct on joomla settings.

Nothing relevant is showed with debug mode activated.

Anybody can help me ?

Versions:
Joomla 3.7.3
K2 plugin 2.7.1



Ty
Last edit: 6 years 8 months ago by Abdalla Lima.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 8 months ago #163036 by Krikor Boghossian
Replied by Krikor Boghossian on topic Wrong date on first daily Post
Hello,

This looks like a template issue. Can you use the default template in order to verify this?

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

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

  • Abdalla Lima
  • Abdalla Lima's Avatar Topic Author
  • Offline
  • New Member
More
6 years 8 months ago #163051 by Abdalla Lima
Replied by Abdalla Lima on topic Wrong date on first daily Post
Krikor,

ty for u reply.

I have tested with default template (protostar) and problem still appear.

Aparenttly is a bug, according this recent topic: www.joomlaworks.net/forum/k2-en/47976-error-with-dates-in-joomla-3-7-3

There you recommends use the DEV Version for resolv this question.
My doubt: is secure use this version on production enviroment ? :(

What the prevision for release with in this correction?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 8 months ago #163063 by Krikor Boghossian
Replied by Krikor Boghossian on topic Wrong date on first daily Post
I do not have a specific ETA.
It is safe for production sites, you can always backup and downgrade in case there is a conflict with other extensions.

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

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

  • Abdalla Lima
  • Abdalla Lima's Avatar Topic Author
  • Offline
  • New Member
More
6 years 8 months ago #163144 by Abdalla Lima
Replied by Abdalla Lima on topic Wrong date on first daily Post
Ok krikor,

I will download and update k2 .


ty again!

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

More
6 years 8 months ago - 6 years 8 months ago #163145 by Uzi
Replied by Uzi on topic Wrong date on first daily Post
I have the same issue. Where can I download the DEV version?

Is there a dev version of 2.7? Maybe 2.7.2? I can only download th 2.8.0 version but that gives me instant errors.
Last edit: 6 years 8 months ago by Uzi.

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

More
6 years 8 months ago #163154 by Uzi
Replied by Uzi on topic Wrong date on first daily Post
Or is there only 2.8 available? No 2.7 version after 2.7.1?

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

More
6 years 8 months ago #163161 by Uzi
Replied by Uzi on topic Wrong date on first daily Post
Ok I checked it, and it is indeed changed if you fill in a tag.

Instead of going to the DEV version, is it possible to make it right again by using Javascript? Because the second one (published) is still correct, I presume you can take the value of this one and insert it into the created input when you click on save? Or when you fill in a tag? I have the following code but its not working:
document.addEventListener('DOMContentLoaded',function() {
    document.querySelector('input#created').onchange=changeCreatedDate;
},false);

function changeCreatedDate(event){

    var pubup = jQuery("#publish_up").val();
   
   

    jQuery("input#created").val(pubup);
    console.log("Created changed");
}

It's not filling it in after I changed it.

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

More
6 years 8 months ago #163167 by Uzi
Replied by Uzi on topic Wrong date on first daily Post
I also see that there are numerous amount of javascript error, mainly [#href=metadata] does not exist. These kinds of errors.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 8 months ago #163179 by Krikor Boghossian
Replied by Krikor Boghossian on topic Wrong date on first daily Post
Can you paste the errors so I can take a look?

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