[fix bug 831679] Fixed year reset in past events.