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-CalendarExt

    Scheduled Pinned Locked Moved Productivity
    198 Posts 45 Posters 210.1k Views 45 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.
    • ? Offline
      A Former User @SK4018
      last edited by

      @sk4018

      cd ~/MagicMirror/modules/MMM-CalendarExt
      git pull
      
      1 Reply Last reply Reply Quote 0
      • T Offline
        Tabbe
        last edited by

        Hi all!

        Is there way to format the date of current and upcoming views? I used

                  titleFormat: "dddd",
                  overTitleFormat : "dddd",
        

        But still date format is unchanged.

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @Tabbe
          last edited by

          @tabbe
          https://github.com/eouia/MMM-CalendarExt/wiki/Configuration#defaultview

          Use dateFormat

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            Tabbe @Guest
            last edited by

            @sean said in MMM-CalendarExt:

            @tabbe
            https://github.com/eouia/MMM-CalendarExt/wiki/Configuration#defaultview

            Use dateFormat

            I did try with that but still it remains unchanged.

                    current: {
                                    title: "Test",
                                    dateFormat: "dddd",
                                    titleFormat: "dddd",
                                    overTitleFormat : "dddd",
                                    position: 'top_left',
                                    useRelative: 0,
                                    limit:2
                      },
            

            I also tried without other formating and with basic M.D format.

            alt text

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Tabbe
              last edited by

              @tabbe ‘dddd’ means the weekday name of target date/time. What exactly do you want to display as?

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                Tabbe @Guest
                last edited by

                @sean
                I want to display weekday name, like saturday.

                ? 2 Replies Last reply Reply Quote 0
                • ? Offline
                  A Former User @Tabbe
                  last edited by A Former User

                  @tabbe
                  I think you’ve missed useRelative field in your config. the default value of useRelative of current & upcoming is 1 or true.
                  Set it as 0.

                  upcoming: {
                              position: "top_left",
                              dateFormat: "dddd",
                              timeFormat: "HH:mm",
                              limit: 5,
                              useRelative: 0
                            }
                  

                  If you want to display only “Saturday” without time, unfortunately it is not supported. (Do you need? e.g. only starting time?)

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Tabbe
                    last edited by A Former User

                    @tabbe
                    Now, I’ve updated module to display only starting time.
                    You can set like this;

                    upcoming: {
                                position: "top_left",
                                dateFormat: "dddd",
                                timeFormat: " ", // don't use `""` instead `" "`
                                limit: 5,
                                useRelative: 0,
                                onlyStartingTime: 1,
                              }
                    

                    And you can see like this.
                    0_1537047297481_test.png

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      Tabbe @Guest
                      last edited by

                      @sean
                      This is weird. I did update module and still not getting like that.

                      :~/MagicMirror/modules/MMM-CalendarExt$ git pull
                      Already up-to-date.
                      

                      Also, I would like it to be on current since it shows current date event. What I am trying to show is birthdays and suchs.

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @Tabbe
                        last edited by A Former User

                        @tabbe
                        Hmmm. weird,
                        As you can see on github page, 40mins ago I updated the module.
                        And you can use that config in current view also.(above is just sample)

                        T 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 8
                        • 9
                        • 10
                        • 11
                        • 12
                        • 19
                        • 20
                        • 10 / 20
                        • First post
                          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