Yes, I’m working on it. And getting better at it, I think. You should have seen it before. :)
-Nic


On 25 mar 2014, at 10:36, remiolsen <notifications@github.com> wrote:

> In goals.js:
> 
> > +                                    "appl": appl,
> > +                                    "pf": pf,
> > +                                    "num_samples": 1,
> > +                                    "fromDate": sampleDateFrom,
> > +                                    "toDate": sampleDateTo,
> > +                                    "daydiff": daydiff(new Date(sampleDateFrom), new Date(sampleDateTo)),
> > +                                    "done": done
> > +                                }
> > +            //} else {
> > +            //    if(sampleDateFrom < projects[pid]["fromDate"]) { projects[pid]["fromDate"] = sampleDateFrom; }
> > +            //    if(sampleDateTo > projects[pid]["toDate"]) { projects[pid]["toDate"] = sampleDateTo; }
> > +            //    projects[pid]["daydiff"] = daydiff(new Date(projects[pid]["fromDate"]), new Date(projects[pid]["toDate"]));
> > +            //    projects[pid]["num_samples"]++;
> > +            //    if (projects[pid]["done"] == true && done == false) {
> > +            //        projects[pid]["done"] = false; //set to false if one sample in the project isn't done
> > +            //    }
> Here as well
> 
> —
> Reply to this email directly or view it on GitHub.
> 


_____________________________________
Niclas Jareborg

Hesselmans väg 8
752 63 Uppsala

niclas@jareborg.se
018-603311
0733-866605