• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-CalendarExt3Agenda

Scheduled Pinned Locked Moved Utilities
192 Posts 27 Posters 238.4k Views 29 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    CDT @sdetweil
    last edited by Jan 2, 2024, 12:08 AM

    Possible bug here. The Agenda doesn’t show scheduled events on the final day as set by the endDateIndex.

    I’m trying to get the Ext3Agenda to show me just a single day. Using startDayIndex:0, endDateIndex:0. When doing this, it only shows full-day events, not events scheduled a specific time.

    If I change endDateIndex:1, then I get the proper items appearing, but also a header for day 2.

    I notice that not matter what the endDateIndex is listed, it doesn’t seem to show sheduled events the last day. Only the header and any full-day events.

    M L 3 Replies Last reply Jan 2, 2024, 7:36 AM Reply Quote 0
    • M Offline
      MMRIZE @CDT
      last edited by Jan 2, 2024, 7:36 AM

      @CDT thanks. I’ll check.

      1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @CDT
        last edited by Jan 2, 2024, 8:29 AM

        @CDT
        I’ve fixed it. Thanks for reporting it.

        C 1 Reply Last reply Jan 3, 2024, 2:04 AM Reply Quote 1
        • L Offline
          luisestrada @CDT
          last edited by Jan 2, 2024, 3:49 PM

          @CDT said in MMM-CalendarExt3Agenda:

          Possible bug here. The Agenda doesn’t show scheduled events on the final day as set by the endDateIndex.

          I’m trying to get the Ext3Agenda to show me just a single day. Using startDayIndex:0, endDateIndex:0. When doing this, it only shows full-day events, not events scheduled a specific time.

          If I change endDateIndex:1, then I get the proper items appearing, but also a header for day 2.

          I notice that not matter what the endDateIndex is listed, it doesn’t seem to show sheduled events the last day. Only the header and any full-day events.

          I think you are referring to the same issue I posted a while ago but unfortunately I was not able to make myself clear.

          1 Reply Last reply Reply Quote 0
          • L luisestrada referenced this topic on Jan 2, 2024, 3:49 PM
          • C Offline
            CDT @MMRIZE
            last edited by Jan 3, 2024, 2:04 AM

            @MMRIZE
            Works perfectly now, thanks!

            L 1 Reply Last reply Jan 3, 2024, 5:37 AM Reply Quote 1
            • L Offline
              luisestrada @CDT
              last edited by Jan 3, 2024, 5:37 AM

              Happy new year everyone!

              Indeed the fix works now. Thank you @MMRIZE

              Another comment, even though “dentro de X días” is correct in Spanish it’s also long. It could also be said “En X días” and it will be also correct. Not an issue but a suggestion.
              Screen Shot 2024-01-03 at 12.33.33 AM.png

              B 1 Reply Last reply Jan 3, 2024, 7:21 AM Reply Quote 0
              • B Online
                BKeyport Module Developer @luisestrada
                last edited by Jan 3, 2024, 7:21 AM

                @luisestrada I believe that’s a translation error - and may not even be “our” fault…

                The "E" in "Javascript" stands for "Easy"

                L 2 Replies Last reply Jan 3, 2024, 3:07 PM Reply Quote 0
                • L Offline
                  luisestrada @BKeyport
                  last edited by Jan 3, 2024, 3:07 PM

                  @BKeyport I tried to find the source but no idea where this comes from.

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    luisestrada @BKeyport
                    last edited by Jan 3, 2024, 4:03 PM

                    @BKeyport said in MMM-CalendarExt3Agenda:

                    @luisestrada I believe that’s a translation error - and may not even be “our” fault…

                    I see there’s nothing we can do, with my limited programming skills I was able to get to row 271 in MMM-CalendarExt3Agenda.js

                    let p = new Intl.RelativeTimeFormat(options.locale, { numeric: "auto", style: "long" })
                    

                    and I found out that Intl​.Relative​Time​Format is written like that, for Spanish locale settings.

                    As I said before it’s not wrong but they could have said “en 3 días” instead of “dentro de 3 días”. It’s like in English when you say “in 3 days” and “within 3 days”.

                    https://hpneo.dev/2019/05/13/apis-internacionalizacion.html#:~:text=Intl​.,-Relative​Time&text=Relative​Time​Format es una API interesante que,podemos hacerlo con esta API.

                    M 3 Replies Last reply Jan 3, 2024, 7:19 PM Reply Quote 0
                    • M Offline
                      MMRIZE @luisestrada
                      last edited by Jan 3, 2024, 7:19 PM

                      @luisestrada
                      I’ll prepare how to customize it soon. I’m on travel abroad now and will return to next week. Plz wait a while. Until then, you can hide it with css.

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 12
                      • 13
                      • 14
                      • 15
                      • 16
                      • 19
                      • 20
                      • 14 / 20
                      14 / 20
                      • First post
                        138/192
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy