Hi all,
By default, in the CV6 calendar:
[list=]Days in header are shown as: S M T W T F S[/list]
[list=]Date/time are printed out in numerical form, e.g. 11-4-2017 4:00 AM[/list]
How to:
[list=]Change days in the table to: Sun Mon Tue ...[/list]
[list=]Print out date/time for example as: Monday, April 4 2017[/list]
By the way, I had a look at the CV5 date picker FAQs, and put the line below in the Extra Attributes box; But nothing changed.
Thanks
By default, in the CV6 calendar:
[list=]Days in header are shown as: S M T W T F S[/list]
[list=]Date/time are printed out in numerical form, e.g. 11-4-2017 4:00 AM[/list]
How to:
[list=]Change days in the table to: Sun Mon Tue ...[/list]
[list=]Print out date/time for example as: Monday, April 4 2017[/list]
By the way, I had a look at the CV5 date picker FAQs, and put the line below in the Extra Attributes box; But nothing changed.
data-shortdays=["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
Thanks
Hi all,
Any help about this will be very appreciated. I tried few things that I found on stackoverflow, but nothing worked😟
Any help about this will be very appreciated. I tried few things that I found on stackoverflow, but nothing worked😟
Hi havex,
For #1 please try this in the extra attributes box:
Best regards,
Max
For #1 please try this in the extra attributes box:
data-days:['Sun', 'Mon', 'T', 'W', 'T', 'F', 'S']
Best regards,
Max
Hi Max,
Thank you very much.
I did solve #1 by testing, and found out that the ' ' get printed as well. Your solution without the '' works. The following extra attributes do the job:
For #2 - I tried the solutions shown here. This seems to work when using the semantic ui calendar but not with Chronoforms. Maybe I didn't use it correctly.
It would be great to have more options/extra attributes to control the calendar's output, eg. disabling past dates, disabling some days of the week, and controlling the time output to match opening times for example. This would make Chronoforms v6 perfect for bookings.
Regards,
Hamid
Thank you very much.
I did solve #1 by testing, and found out that the ' ' get printed as well. Your solution without the '' works. The following extra attributes do the job:
data-days:[Sun, Mon, Tue, Wed, Thu, Fri, Sat]
For #2 - I tried the solutions shown here. This seems to work when using the semantic ui calendar but not with Chronoforms. Maybe I didn't use it correctly.
It would be great to have more options/extra attributes to control the calendar's output, eg. disabling past dates, disabling some days of the week, and controlling the time output to match opening times for example. This would make Chronoforms v6 perfect for bookings.
Regards,
Hamid
This topic is locked and no more replies can be posted.