Developer forum

Forum » CMS - Standard features » Calendar in the backend does not allow 2022

Calendar in the backend does not allow 2022

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

A customer using 9.10 (although it happens with 9.12 as well), cannot set dates for 2022 and beyond in the User Smart Searches https://www.screencast.com/t/5rtX5b9R

 

Can this be fixed somehow, without having to upgrade?

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

That took some time to find. That is the worst code I have ever seen!

But in this file:  \Admin\Content\Management\SmartSearches\js\SmartSearchRulesEditor.Model.js

Change this:

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Well, they can't always be easy :P Thanks a lot.

 

I am assuming this will be updated in the next hotfix or version as well.

 

Best Regards,

Nuno Aguiar

 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

Has this fix been released yet?

 

Best regards,

Anders

 
Nicolai Pedersen
Reply

The commit stranded so it was not merged into main until yesterday. So no - I made the mistake! Sorry...

But easy to fix pirate style!

BR Nicolai

 

You must be logged in to post in the forum