我想知道为什么fullcalendar(实际上是3.5.1版)在日历上没有显示活动,如果你设置了allDay:true'以及开始和结束属性为同一天,但时间不同。
例如,此类事件未显示:
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
int main()
{
int *arr;
int count=0,i=3,j,n;
arr=(int*)malloc(count+1*sizeof(int)); /*here i set array size to 1*/
arr[count++]=2; /*stored 2 as array first element*/
printf("Find all prime numbers upto :: ");
scanf("%d",&n); /*n is the number up to which prime numbers are required*/
here:
{
while(i<=n) /*start with i=3*/
{
j=0;
while(arr[j]<=sqrt(i)) /*till array element value less than or equal to root of number under checking*/
{
if(i%arr[j]!=0) /*if remainder is not zero check*/
j++; /*divisibility with next array element*/
else
{
i++; /*if remainder is zero then*/
goto here; /*start checking for another number*/
}
}
printf("%d, ",arr[count-1]); /*printing the number which was proved to be prime last time*/
arr=(int *)realloc(arr,(count+1)*sizeof(int)); /*increasing array size by 1*/
arr[count++]=i; /*newly proved prime is stored as next array element*/
i++;
}
printf("%d, ",arr[count-1]); /*print last number proved to be prime*/
}
}
我认为fullcalendar应该显示事件,即使我将事件设置为全天事件,但是开始和结束时间的差异不到1天。
这是正确的还是一个错误?
如果我遗漏了时间,我只留下当天工作正常的日期。
我在jsfiddle https://jsfiddle.net/yqs0jnhq/4/预装了一个简化测试案例