문제

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!!

도움이 되었습니까?

해결책

I got it...just added this line:

function name_year() {
return strftime('%B %Y', $this->timestamp);
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top