Tell us what you are trying to do? On this link: enlace oculto we do have a "start date". We do have a field tour-days (Tour Days, number) where we have the amount of days.
In a view I am using on the link above, I do show actually the start date. Now I would like to add the end date. Is there a possibility to calculate it?
Is there any documentation that you are following? I did not found anything
Hello. Thank you for contacting the Toolset support.
Yes, its possible to add number of days to your existing start date field and display the calculated result (start date + number of days) as end date but for that you will have to write custom shortcode where you should pass current start date and number of days and return the calculated result.
This works fine in English, but in the German version, I don't get the day in the correct language. You can see the result here:
enlace oculto
The part is where You see the yellow button (this is the normal start date, done with toolset short code field. The green button with my shortcode. Do You have a tip how can I bring the day respectively the date into a correct language (german).
I'll have to check and for that I'll require admin access details and please tell me where you added the code you shared.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
This worked fine, I modified it slightly, but great.
The only thing left, as I do have a view for this link enlace oculto
And the "start" date I get like this:
[types field='tour-date-field' style='text' format='d. M Y'][/types]
It shows me for the month in German "Mrz" - in the code above I do get "Mär". Both are correct, but I like to have just one version. Any idea how to solve this? Possible to change the short code I mentioned slightly?