Suppress warnings about old date API