cosmetic
fixes the bug reported by Waldir Leoncio: inline hook does not work with dates