Changed "text_layer" to "date_layer" where needed