Giter VIP home page Giter VIP logo

mmm-multimonth's People

Contributors

bkeyport avatar vwegert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

vwegert brielc

mmm-multimonth's Issues

horizontal mode

For my setup, I need to have the months arranged horizontally left-to-right instead of vertically.

Beginning is posponed

Hey it is a really nice module !

But everytime my three months look always like your screenshot.
September starts on thursday and so on...
this needs to be fixed. And then its perfect.
Keep it up

weekNumbers: true makes "UNDEFINED" output

Hi!

First of all thanks for maintaining the module!

I just updated MM and the modules, put the new options in but only got UNDEFINED shown at the modules position.
First I looked in the developer tools to see if my CSS has hidden something, but there wasn't anything in the site-source besides the UNDEFINED.
So I disabled all options and tried to enable one by one. As soon as I enable the weeknumbers it turns from showing the calendar to UNDEFINED.
Below is the current working config.
If you could look into that at some point it would be nice.

                {
                        module: 'MMM-Multimonth',
                        position: 'top_bar',
                        config: {
                                startMonth: -1,
                                monthCount: 3,
                                monthsVertical: false,
                                highlightWeekend: true,
                                repeatWeekdaysVertical: true,
//                              weekNumbers: true,
                                startWeek: 1,
                                headerType: 'short'
                        }
                },

Thanks again for the module!

.

.

ISO 8601 Week number

The ISO 8601 standard defines week numbers using a Monday-based week (i.e. the week begins on Monday). Under this definition, the first week of the year is determined to be the first week that contains a Wednesday.

This means, then the calculation of the week number has to base on January 4th.
So the code should look like

const weekNumber = (dateObject) => {
	var fourJan = new Date(dateObject.getFullYear(),0,4);
	var numberOfDays = Math.floor((dateObject - fourJan) / (24 * 60 * 60 * 1000));
	var result = Math.ceil(( date.getDay() + 1 + numberOfDays) / 7);
	return result;
}

.

Such a lamer!

Request

Add Week numbers to left of calendar, as requested by TheGardener88

monthsVertical not working

Hi,

Thanks for this mm plugin. But it seems that monthsVertical: false doesnt work and I still get the months on vertical. I'm using the config from examples but changing this option. My config:

{
  module: 'MMM-Multimonth',
  position: 'bottom_bar', // can be any of the postions
  config: { // Optional - will default to 3 months, with one previous and one next, vertical orientation. 
      startMonth: -1, // Define when you start from current month (negative is before current, zero is current, positive is in future) 
      monthCount: 3, //  How many months to display - If Month Count is 1, Calendar will show previous and next month dates in empty spots.  
      // See screenshots for examples of the following config items. 
      monthsVertical: false, // Whether to arrange the months vertically (true) or horizontally (false).
      repeatWeekdaysVertical: false, // Whether to repeat the week days in each month in vertical mode. Ignored in horizontal mode.
      weekNumbers: false, // Whether to display the week numbers in front of each week.
      highlightWeekend: false, // Highlight Saturday and Sunday
    }
},

.

.

Give weekends a style

Hi,

I already mentioned in on the forum, but again: this is a great module, thank you very much!
Overall I am very happy and styling with some CSS is good to do.
However here is one featurerequest:
May it be possible that the weekends get some extra-style? E.g. make the font-weight lower or so. On the classic wallcalenders the weekends have most time a bit different style, too.
I haven't seen a css-class I could use for that, therefore I believe when the grid is generated the saturday and sunday-days would need to get an extra css-class.
If that's already possible now please give me a hint.

regards

Nico

Drop Moment

It appears that moment.js is a dead project, and there is better modules for use. I'm gonna switch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.