Giter VIP home page Giter VIP logo

Comments (8)

BKeyport avatar BKeyport commented on July 17, 2024

Start of week is defined by the language used as of this time. I've been looking at other solutions, however, I've been busy with other projects that actually earn me a paycheck (That evil W word)

from mmm-multimonth.

BKeyport avatar BKeyport commented on July 17, 2024

See #1

from mmm-multimonth.

ebonak avatar ebonak commented on July 17, 2024

Start of week is defined by the language used as of this time.

Does this refer to the Javascript API that provides calendar functions? I don't know much JS and I'm new to MM and its modules, but I'm trying to get more comfortable with the setup (and github in the process).

I've been looking at other solutions, however, I've been busy with other projects that actually earn me a paycheck (That evil W word)

No worries, I totally understand about priorities, but perhaps this could find itself on a to-do list for future enhancements. It's certainly not urgent at all. Thanks for the reply.

from mmm-multimonth.

BKeyport avatar BKeyport commented on July 17, 2024

Sorry, I should have been more clear. The language as set by MagicMirror. So, if you switched to french, moment.js tells me monday is the first day of the week, and my module reacts accordingly. from MagicMirror's config.js

var config = {
...
    language: "en",
...

it's on the list.

from mmm-multimonth.

ebonak avatar ebonak commented on July 17, 2024

Sorry, I should have been more clear. The language as set by MagicMirror. So, if you switched to french, moment.js tells me monday is the first day of the week, and my module reacts accordingly. from MagicMirror's config.js

var config = {
...
    language: "en",
...

it's on the list.

Ah .. ok, cool, thanks, so looks a bit like a locale/cultural setting. I'll have to learn about all the various setup/config files MM uses/requires for developers - this gives me some idea. I appreciate learning about this.

from mmm-multimonth.

BKeyport avatar BKeyport commented on July 17, 2024

This was literally my first time with javascript and css. I built it for my need, and it became useful for others, so I used the easiest way to make things work. Can't blame me for being lazy on a free job, eh? ;)

from mmm-multimonth.

ebonak avatar ebonak commented on July 17, 2024

This was literally my first time with javascript and css. I built it for my need, and it became useful for others, so I used the easiest way to make things work. Can't blame me for being lazy on a free job, eh? ;)

Nope .. and this is the best way to learn (to work on something relevant to yourself). I picked up C# similarly writing a Windows app I wanted.

from mmm-multimonth.

BKeyport avatar BKeyport commented on July 17, 2024

Hey, all. Sorry about the long delay, however, getting inspired by MMRize's CalExt3 project, I've finally done this! See new startWeek config option!

from mmm-multimonth.

Related Issues (15)

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.