-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why not use the same start and end date as from Task plugin #2
Comments
Sorry for the inconvenience, but what is |
Hello, this is the task plugin https://publish.obsidian.md/tasks/Introduction. It uses the symbol 🛫 as start and 📅 as end. Whereas smart gantt uses "from" and "to". Most of the logic from start and end has been included in this GitHub https://github.com/LynnXie00/ObsidianGanntChartfromTasks/blob/39aae2e42dd0609f03a0eb9539a9853dd786cc31/Research%20Gannt.md however, your plugin is maintained. |
Okie, I using a simple solution, replace const hourGlass = text.replace(/⏳/g, "due in "),
airPlain = hourGlass.replace(/🛫/g, "start from "),
heavyPlus = airPlain.replace(/➕/g, "created in "),
checkMark = heavyPlus.replace(/✅/g, "done in "),
crossMark = checkMark.replace(/❌/g, "cancelled in "),
createdIn = crossMark.replace(/\[created::\s+(.*)]/g,"created in $1"),
scheduledIn = createdIn.replace(/\[scheduled::\s+(.*)]/g,"scheduled in $1"),
startFrom = scheduledIn.replace(/\[start::\s+(.*)]/g,"start from $1"),
dueTo = startFrom.replace(/\[due::\s+(.*)]/g,"due to $1"),
completionIn = dueTo.replace(/\[completion::\s+(.*)]/g,"completion in $1"),
cancelledIn = completionIn.replace(/\[cancelled::\s(.*)]/g,"cancelled in $1 "),
calendarMark = cancelledIn.replace("/📅/g"," to ")
return calendarMark
|
anyway, |
oh, I like the fact everytime I switch the card on my projject board everything will be log here. Haha |
I wanted to ask, why the gantt plugin can't use the same formatting as the task tool for the start and end date?
The text was updated successfully, but these errors were encountered: