user strftime instead localize. It was giving an error on spanish