Moment js dont work on my obsidian

i try to make a weekly date but the code dont work this code from the toutrial of


For starters to use javascript in templates the template block needs to start with <%* , not just <%.