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.

    worldclock - nobody made this, so I did.

    Scheduled Pinned Locked Moved Productivity
    46 Posts 14 Posters 31.9k Views 14 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.
    • R Offline
      richardh151
      last edited by

      I’m a complete novice but successfully managed to get the three additional clocks on my MM and I am able to edit their name. However I am unable to set the correct time for each country, for example I want to set the time for Mumbai India and also Shanghai China, but struggling. Please can you give me some simple instructions as I’ve looked in the various folders and failed so far.

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

        @richardh151
        You can try this config.

        clocks: [
              {
                   title: "LA, USA",
        	   timezone: "America/Los_Angeles"
              },
              {
        	   title: "Shanghai, China",
                   timezone: "Asia/Shanghai",
                   timegap: true, 
              },
              {
        	    title: "Mumbai, India",
                    timezone: "Asia/Kolkata",
        	    timegap: true,
              },
            ]
        

        0_1502015890912_screencapture-localhost-8080-1502015855013.png
        Whole available list of timezone name is here;
        https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

        Mykle1M R 2 Replies Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @Guest
          last edited by

          @Sean said in worldclock - nobody made this, so I did.:

          Whole available list of timezone name is here;
          https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

          Maybe add the link to the timezones into your readme in case people don’t see it here.

          Well done Sean!

          Create a working config
          How to add modules

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

            @Mykle1 good suggestion. I’d missed it. Later i’ll add.

            1 Reply Last reply Reply Quote 0
            • R Offline
              richardh151 @Guest
              last edited by

              @Sean thank you works perfectly and looks great.

              1 Reply Last reply Reply Quote 0
              • N Offline
                nobita @Guest
                last edited by

                @Sean How to Add Country Picture like this 0_1502375584792_mm-flags.jpg
                Thanks your help

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

                  @nobita good suggestion. I like that circled flags. Where do you get that?

                  N Mykle1M 2 Replies Last reply Reply Quote 0
                  • N Offline
                    nobita @Guest
                    last edited by

                    @Sean I can’t remember because a longtime ago

                    1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @Guest
                      last edited by Mykle1

                      @Sean said in worldclock - nobody made this, so I did.:

                      I like that circled flags

                      https://www.shutterstock.com/image-vector/simple-circle-flags-vector-countries-flat-298861670

                      https://image.shutterstock.com/z/avopix-199602161.jpg

                      Create a working config
                      How to add modules

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

                        @nobita How about this?
                        0_1502374763676_world-clock.png

                        I cannot find any pretty flag images on the network, so I use flag-icon-css.
                        @Mykle1 gave me good resources, but I feel some question.
                        Should we store all the flags in modules? Each person needs only a few flags at once. Therefore I try to find some resources approachable on the internet directly, which might be already hosted via CDN or something like. The only one thing I’ve found was flag-icon-css.
                        But… The flag is not so pretty as I’ve thought.

                        Anyway, I added flags feature, you can upgrade your module now.

                        [card:eouia/worldclock]

                        Mykle1M N iMAGiCI 3 Replies Last reply Reply Quote 3
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @Guest
                          last edited by

                          @Sean

                          Those look fantastic! Nice work Sean!

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            nobita @Guest
                            last edited by

                            @Sean Very Nice and Good Module for all

                            1 Reply Last reply Reply Quote 0
                            • iMAGiCI Offline
                              iMAGiC @Guest
                              last edited by iMAGiC

                              @Sean thanks for the module, could you advise how to hide time gap, default is showing, but I can’t hide it when set “false”.

                              Choice * Judgment * Values

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

                                @iMAGiC in your custom css, add this.

                                .worldclock .gap {
                                display:none;
                                }
                                
                                iMAGiCI 1 Reply Last reply Reply Quote 0
                                • iMAGiCI Offline
                                  iMAGiC @Guest
                                  last edited by

                                  @Sean thanks, but I can’t get it work, found alternative. Thank you.

                                  Choice * Judgment * Values

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

                                    @iMAGiC
                                    Sorry for my improper instruction. At that time I was not in front of machine, so I just simply guessed,

                                     .worldclock .world .caption .gap {
                                     display:none;
                                     }
                                    

                                    will do.

                                    N 1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      nobita @Guest
                                      last edited by

                                      @Sean , How to Change your digital Clock to Analog Clock
                                      like as the default module clock (MM2)
                                      Configuration options
                                      displayType : Possible values: digital, analog, or both
                                      analogFace : Possible values: simple for a simple border, none for no face or border,
                                      or face-### (where ### is currently a value between 001 and 012, inclusive)

                                      Thank so much for your all helps

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

                                        @nobita
                                        Unfortunately, worldclock doesn’t support Analog face. Sorry.

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Arjen_lima
                                          last edited by Arjen_lima

                                          Hi There,

                                          just starting out with MM and i like the module a lot.
                                          one question i have is how to organize the clock’s in row instead of one below the other.

                                          thanks

                                          Arjen

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

                                            @Arjen_lima
                                            Sorry for my English, I cannot catch your question.
                                            The order of clocks is defined in config.js by the section clocks, that is the array of clock, then the order of display is same with the order of array element.

                                            Or… If you mean another problem, give me more detailed information. Of course, an image could be the great help for understanding.

                                            A 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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