2022-04-01 23:07:08 +08:00
|
|
|
import { insertAtCursor } from "plugos-silverbullet-syscall/editor";
|
2022-02-25 00:24:49 +08:00
|
|
|
|
|
|
|
export async function insertToday() {
|
|
|
|
let niceDate = new Date().toISOString().split("T")[0];
|
2022-04-01 23:07:08 +08:00
|
|
|
await insertAtCursor(niceDate);
|
2022-02-25 00:24:49 +08:00
|
|
|
}
|