add hook to new theme
fix lint problems
update expample to use getLocalDate