No thanks ...... for the code
I have re-writen the entire assignment module for my institutions needs ( moodle 1.4.1 platform)
with due date issue also sorted out ....
Split the assigment feedback area to each student and not the whole lot.
Added viewing only students who submitted assignment's || submitted assignment's and not marked assignment's || View all. AND these setting will keep for the duration of your seession and not change everytime you refresh the page. (makes it easier for teachers to mark the assignment's oh ya also change the default sort to arrange by lastname)
Added email immediate send to students of feedback update from teachers point of view with the ability to indicate if you would like to send an email or not. ( find this more usefull than the cron job )
Added an area to submit from the teachers a marked file version of students file. (for the students too view only after due date.)
Added a memo submission for the assignment from the teacher's point of view ( for the students too view only after due date.)
etc... working perfectly
( I am still making improvement's only started 2 days ago )