Added proper date object in plugin example