Tidied.
Fixed bug#10817 - generic agent ticket date filter 'year' one year has 365 instead of 356.
Fixed CHANGES.