Question

Heres the link to this script: https://github.com/bastianallgeier/gantti

The file which generates the header info (months,days) is in 'lib/gantti.php' line 105 and the classes are on 'lib/calendar.php'...I've tried basiclly to copy and paste the month headers and modify it to display years but no luck...How can I display the year in the header section?

Thanks!!

Était-ce utile?

La solution

I got it...just added this line:

function name_year() {
return strftime('%B %Y', $this->timestamp);
}
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top