Git Product home page Git Product logo

calendar-gc's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ I am a newbie who code by night, and code by day.
  • ๐Ÿ‘จโ€๐Ÿ‘ง a husband of @elcindizamzam
  • ๐ŸŒฑ Iโ€™m currently addicted with js, typescript, python and dart (2015-2019 PHP, Visual Basic 2013) ๐Ÿ˜„
  • ๐Ÿ’ฌ you can ask me anything, but I can't answer anything ๐Ÿ˜Š
  • ๐Ÿ“ซ How to reach me: twitter

gilang pratama

Anurag's GitHub stats

Top Langs

calendar-gc's People

Contributors

kchason avatar nggepe avatar

Stargazers

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

Watchers

 avatar  avatar

calendar-gc's Issues

All date handling should disregard time and day of month

The pickedDate property on gcObject is initialized as new Date(). When I then call setDate( new Date()) this will always cause an animation to happen since pickedDate != newDate.
I think you should remove all time info and also the current day of month from all dates. You're only interested in the year and month. I think you could help yourself if you make a method for that. Either inside the gcObject of as a function on Date. For the latter I found some js library that does something like that: https://github.com/datejs/Datejs/blob/master/src/core.js

JS exception when initing without events

Great job on this calendar.

A small issue I found while using it. When you init the calendar as in the basic usage example (options={}), you will get a JS exception.
This is because when not specifying events, an event is added, but without a date. This will result in an exception coming from the render method, because that expects the date of the even to be set.

Displayed date is off by one day

Hello. First and foremost thank you so much for this calendar! It is awesome!
I've only found one issue with it and perhaps it is in the way I am using it, or the options I am passing.
It appears that all of the events I am creating are being displayed one day early. Please see attached screenshot for more details.
Am I doing something wrong?
Thank you!
Capture

Specify date on initialization

I think it would be nice to be able to directly set the date via the options when you initialize the calendar. Currently, if you want to change the date after initialization, you would need to call the setDate method. But that will cause 2 renders after each other. If youcan specify it via the options you could save a render, which will speed up things seen from a performance perspective.

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.