Code Monkey home page Code Monkey logo

Comments (2)

danheron avatar danheron commented on September 7, 2024

The problem is that the CurrentDay property expects a Date but you are passing a Date/Time. If you change

DateTime _currentDay = DateTime.Now;

to

DateTime _currentDay = DateTime.Today;

Then it will work.

However I regard this as a bug in MudCalendar so I will fix it so that it still works even if you pass a Date/Time.

The disappearing Time Marker is because you have merged changes I made for MudBlazor 7 without actually using MudBlazor 7. MudBlazor 7 has quite a few breaking changes. One change was renaming the colour 'grey' to 'gray'.

MudCalendar now uses var(--mud-palette-gray-default) for the time marker. In your project you should change this back to var(--mud-palette-grey-default)

The problem with the next week button seems to be only in work week view. It seems to be only advancing the date by 5 days. I will create a new issue for this.

from heron.mudcalendar.

APusch-Tenno avatar APusch-Tenno commented on September 7, 2024

Thank you so much!

Time marker is working again and time on click is also correct now (which fixed another issue I forgot to mention as well - initial loading of events didn't work only when switching the week, which can be explained now by the false date value).

I was aware of the breaking changes, because I actually tried to switch to MudBlazor 7 a few times, but because of other dependencies, I have to wait until these are updated.
I must have missed the change to gray during WinMerge compares, because now that you mentioned it, I know that this was one of the changes.
I always went back to a copy of the project and not reversed the changes for 7 to not have such a problem, but this one probably slipped through during an update.

Thanks again!

from heron.mudcalendar.

Related Issues (20)

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.