Skip to content

Logseq does not update date links after changing the date format and those links become invalid. This is a plugin that replaces those links.

License

Notifications You must be signed in to change notification settings

YU000jp/logseq-plugin-legacy-date-format

Repository files navigation

Logseq Plugin: Old date format 🗝️

A plugin to fix invalid date links after changing date format in Logseq.

Features

  1. Batch Convert Legacy Date Links

    • Replace invalid date links with the new format
    • Convert links even if the target page doesn't exist 🆕
    • Support for Obsidian format (yyyy-MM-dd) and hierarchy format (yyyy/MM/dd)
  2. Automatic Page Redirect

    • Automatically redirects from old format pages to new format pages

Note

This plugin was created to solve Logseq's date format change issue (Logseq#4279)

Warning

Not compatible with Logseq db version

English | 日本語 latest release version License Downloads Published 2023/08/20

How to Use

1️⃣ Installation

  • Click [---] in the top right toolbar
  • Open [Plugins]
  • Search for "Legacy" in marketplace
  • Click Install

2️⃣ Setup

  1. Open Plugin Settings

    image

  2. Convert from Old to New Format

    image

Important Notes ⚠️

  • Always run re-index in Logseq after conversion
    • Block UUIDs will change, which may affect embeds and references
    • Non-journal pages will have their hidden "create-at" property updated

Showcase / Questions / Ideas / Help

Go to the Discussions tab to ask and find this kind of things.

  1. Recommend

All date format demo

Date format Today
E, d MMMM yyyy Tue, 19 September 2023
E, MM/dd/yyyy Tue, 09/19/2023
E, dd-MM-yyyy Tue, 19-09-2023
E, dd.MM.yyyy Tue, 19.09.2023
E, yyyy/MM/dd Tue, 2023/09/19
EEE, MM/dd/yyyy Tue, 09/19/2023
EEE, dd-MM-yyyy Tue, 19-09-2023
EEE, dd.MM.yyyy Tue, 19.09.2023
EEE, yyyy/MM/dd Tue, 2023/09/19
EEEE, MM/dd/yyyy Tuesday, 09/19/2023
EEEE, dd-MM-yyyy Tuesday, 19-09-2023
EEEE, dd.MM.yyyy Tuesday, 19.09.2023
EEEE, yyyy/MM/dd Tuesday, 2023/09/19
MM-dd-yyyy 09-19-2023
MM/dd/yyyy 09/19/2023
dd-MM-yyyy 19-09-2023
dd.MM.yyyy 19.09.2023
yyyy/MM/dd 2023/09/19
MM_dd_yyyy 09_19_2023
do MMM yyyy 19th Sep 2023
do MMMM yyyy 19th September 2023
yyyy-MM-dd 2023-09-19
yyyy-MM-dd EEEE 2023-09-19 Tuesday
yyyy/MM/dd 2023/09/19
yyyyMMdd 20230919
yyyy_MM_dd 2023_09_19
yyyy年MM月dd日 2023年09月19日

Credit

About

Logseq does not update date links after changing the date format and those links become invalid. This is a plugin that replaces those links.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 3

  •  
  •  
  •