Added a discussion 

Hi there,

The Events that I create with Repeat, shows up at the same date all of the occurrences. How to fix that? Also how to have 24hour time format in the Calendar?

  • 485
Comments
    • Hello everyone. I am having the same problem. My users are using the calendar for repeat events and it does not work. all repeats show up on the same day! How can we resolve this issue. LeonidS Alex T⚜️ Thank you.

      💓0 😆0 😲0 😥0 😠0 0
      • 24h format can be enabled in calendar by adding calendar.html & calendar_compact.html files in your template with the following contents:

        for calendar.html:

        <div id="__id__"></div>
        <script>
            var oDefaults = {
                    eventTimeFormat: {
                        hour12: false,
                        hour: 'numeric',
                        minute: '2-digit',
                        omitZeroMinute: true,
                        meridiem: false
                    },
                    headerToolbar: {
                        initialView: 'dayGridMonth',
                        left: 'prev,next today',
                        center: 'title',
                        right: 'dayGridDay,dayGridWeek,dayGridMonth' 
                    },
                    navLinks: true, // can click day/week names to navigate views
            };
            var oOptions = __options__;    
            document.addEventListener('DOMContentLoaded', function() {
                new FullCalendar.Calendar(document.getElementById('__id__'), $.extend({}, oDefaults, oOptions)).render();
            });
        </script>

        for calendar_compact.html:

        <div id="__id__"></div>
        <script>
            var oDefaults = {
                    eventTimeFormat: {
                        hour12: false,
                        hour: 'numeric',
                        minute: '2-digit',
                        omitZeroMinute: true,
                        meridiem: false
                    },
                    headerToolbar: {
                        initialView: 'dayGridMonth',
                        left: 'prev,next today',
                        center: 'title',
                        right: '' 
                    },
                    navLinks: true, // can click day/week names to navigate views
            };
            var oOptions = __options__;    
            document.addEventListener('DOMContentLoaded', function() {
                new FullCalendar.Calendar(document.getElementById('__id__'), $.extend({}, oDefaults, oOptions)).render();
            });
        </script>

        💓0 😆0 😲0 😥0 😠0 0
        • Repeating events are fixed in v.12.0.1

          💓0 😆0 😲0 😥0 😠0 0
          • Alex T⚜️ I want to change from military to 24hr when people post articles, comments, or videos in the news feed. Will this commands change that in Una 12?

            💓0 😆0 😲0 😥0 😠0 0
            • Alex T⚜️ I want to change from military to 24hr when people post articles, comments, or videos in the news feed. Will this commands change that in Una 12?

              Sorry, changing date format in post forms isn't possible yet

              💓0 😆0 😲0 😥0 😠0 0
              Not logged in users can't 'Comments Post'.
              Info

              UNA - Network Infrastructure for Communities

              Close