GithubHelp home page GithubHelp logo

russiann / flex-calendar Goto Github PK

View Code? Open in Web Editor NEW
157.0 157.0 54.0 98 KB

๐Ÿ“… An Elegant Calendar built with Angular.js

Home Page: http://russian60.github.io/flex-calendar/

License: MIT License

CSS 29.08% JavaScript 70.92%

flex-calendar's People

Contributors

armellarcier avatar balehok avatar capella avatar vincentpuget avatar

Stargazers

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

Watchers

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

flex-calendar's Issues

Uncaught SyntaxError: Octal literals are not allowed in strict mode.

If i add $scope.options to my Controller (controller attached to calendar view) i get the following error:
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
I know its because i'm using 'use strict'; at the top of my .js file but i was wondering is this due to folowing var's :
defaultDate: new Date(2015, 06, 26),
minDate: new Date(2015, 06, 12),
maxDate: new Date(2015, 12, 31),

Is it possible to somehow rewrite this so it will work within 'use strict' rules?

Thank you for the great job with flex-calendar.

unable to install via bower

bower install flex-calendar --save
bower not-cached    git://github.com/Russian60/flex-calendar.git#1.0.0
bower resolve       git://github.com/Russian60/flex-calendar.git#1.0.0
bower not-cached    git://github.com/Russian60/flex-calendar.git#*
bower resolve       git://github.com/Russian60/flex-calendar.git#*
bower checkout      flex-calendar#master
bower resolved      git://github.com/Russian60/flex-calendar.git#100a81b83e
bower ENORESTARGET  No tag found that was able to satisfy 1.0.0

Additional error details:
No versions found in git://github.com/Russian60/flex-calendar.git

not work on iOS

Hi, with ionic serve I can see events on calendar, on iphone events seems to be empty (but $scope.events is not null)
Any ideas?

I fetch datas with http request, after
var events = response;
....
some stuff
....
$scope.events = envents;

tnxs
m.

Day is off by one

I initialized the dates like so
$scope.events = [
{ date: "2015-10-22" },
{ date: "2015-10-22" },
{ date: "2015-10-24" },
{ date: "2015-10-25" },
];

But the dates displayed are off by one day. Is this a time zone issue that I'm missing?

screen shot 2015-10-28 at 12 17 13 pm

Event colors

Hi! Thanks for this awesome project! @Russian60 I read that there's the eventClass property available for the events array but I can't manage to make it work! Could you please take a look into this fork (http://codepen.io/comapedrosa/pen/dXPBYy)? As you can see I only added eventClass in one of the elements of the array:

  $scope.events = [
    {foo: 'bar',eventClass: 'expired', date: "2015-08-19"},
    {foo: 'bar', date: "2015-08-20"}
  ];

And I added on the CSS the expired class

.expired {
  color:red !important;
  background-color: red !important;
}

Any kind of hep/suggestion would be great! Thx!!

Weird stuff happening on 2016/10/16

For some reason, Oct 16th, which is supposed to be a Sunday, shows up as Saturday here, breaking into a new week containing only itself. Anyone else experiencing this?

Small erro in tutorial

Change:" Inject 'flex-calendar' and ..."
To: " Inject 'flexcalendar' and ..."

The name correct of module. :D

the calendar is marking 1 day before returned from the database

When the calendar plugin tries to read the dates there are in the $scope.events, the calendar displays a day before (if in the $scope.events have de date 12/04, the calendar displays the event on 11/04). Apparently, the calendar is reading the date in a wrong way, because when I click in the day with a event and print de date parameter that cames in the dateClick function, it shows that have GMT -3 (Tue Apr 12 2016 21:00:00 GMT-0300 (Local Standard Time)) and I dunno from where it cames. How I take off this GMT and from where I should take it off?

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.