Code Monkey home page Code Monkey logo

Comments (4)

Zachatoo avatar Zachatoo commented on June 24, 2024 1

Strange, your template works fine for me. My test note is titled 2024-05-21 or 2024-05-21-Tuesday, following the format of YYYY-MM-DD or YYYY-MM-DD-dddd, as defined in your template.

Can you try reproducing in the sandbox vault with just Templater installed and this template, in a file matching your date format?

from templater.

AppleElephants avatar AppleElephants commented on June 24, 2024 1

Strange, your template works fine for me. My test note is titled 2024-05-21 or 2024-05-21-Tuesday, following the format of YYYY-MM-DD or YYYY-MM-DD-dddd, as defined in your template.

Can you try reproducing in the sandbox vault with just Templater installed and this template, in a file matching your date format?

oh...I got the solution..! it is because language (I dont know why?) I am from Korea but I usually use English in obsidian
I just changed English into Korean and the template works..?

Anyway
really Thank you for helping me
it really helps I tried everything I could but it didnt work and I was about to give up
Thank you!

from templater.

Zachatoo avatar Zachatoo commented on June 24, 2024
  1. Can you please provide your entire template as plain text, not as a screenshot? It makes it way easier to test.
  2. Do you have any user scripts? If so, try disabling user scripts, and if it works, then there's a syntax error in one of your user scripts, not your template.
  3. Please share your Obsidian and Templater versions, there's a reason they're in the bug issue template.

from templater.

AppleElephants avatar AppleElephants commented on June 24, 2024
  1. Can you please provide your entire template as plain text, not as a screenshot? It makes it way easier to test.
  2. Do you have any user scripts? If so, try disabling user scripts, and if it works, then there's a syntax error in one of your user scripts, not your template.
  3. Please share your Obsidian and Templater versions, there's a reason they're in the bug issue template.

Thanky for replying me!

template I used is like below

date: <% tp.file.creation_date() %>
Progress:
Target: 100
Deadline: -2
type:
tags:
aliases:

<% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>

<< [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').subtract(1, 'd').format('YYYY-MM-DD-dddd') %>|Yesterday]] | [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').add(1, 'd').format('YYYY-MM-DD-dddd') %>|Tomorrow]] >>

I dont have user scripts.

and Obsidian version = V1.5.12
Templater version = 2.3.2

I upload my daily template
Daily Note Template (new).md

from templater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.