Skip to content

YU000jp/logseq-plugin-flex-date-format

Repository files navigation

Logseq Plugin: Flexible date format

  • Localize visual display for user date format
    1. Switch to style of the selected format

      Separate the date format recorded in files from the format displayed.

This plugin does not affect the graph or files

Warning

This plugin does not work with Logseq db version now.

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

Overview

  • targets are journal links or journal titles
    1. Main: Switch to style of the selected date format 🆙

      Select "localize" mode or another date format

    2. Option: Localize day of the week in journal links 🆙
      • 2023/07/22 => 2023/07/22 (Sat)

        (Sat) is the localized day of the week.

    3. Option: Adds an icon to dates that match the year separation 🆕20240204

Getting Started

Only markdown format supported

  1. Install from Logseq Marketplace

    • Press [---] on the top right toolbar to open [Plugins]. Select Marketplace. Type Flex in the search field, select it from the search results and install.
  2. Please specify the settings in the plugin settings.

  3. Locales

    Locale Description
    default Gregorian calendar (default)
    am-ET-u-ca-ethiopic Amharic (Ethiopia) - Ethiopian calendar
    ar-EG Egypt
    ar-SA Arabic (Saudi Arabia) - Gregorian calendar (default)
    ar-SA-u-ca-islamic-umalqura Arabic (Saudi Arabia) - Islamic (Umm al-Qura) calendar
    bn-BD Bangladesh
    de-DE Germany
    en-AU Australia
    en-CA Canada (English)
    en-GB English (United Kingdom) - Gregorian calendar (default)
    en-GB-u-ca-islamic English (United Kingdom) - Islamic calendar
    en-GB-u-ca-persian English (United Kingdom) - Persian calendar
    en-US English (United States) - Gregorian calendar (default)
    en-US-u-ca-islamic English (United States) - Islamic calendar
    en-US-u-ca-persian English (United States) - Persian calendar
    es-AR Argentina
    es-CL Chile
    es-CO Colombia
    es-CR Costa Rica
    es-DO Dominican Republic
    es-EC Ecuador
    es-ES Spain
    es-GT Guatemala
    es-HN Honduras
    es-MX Mexico
    es-NI Nicaragua
    es-PA Panama
    es-PE Peru
    es-PR Puerto Rico
    es-SV El Salvador
    es-UY Uruguay
    es-VE Venezuela
    fa-IR Persian (Iran) - Gregorian calendar (default)
    fa-IR-u-ca-persian Persian (Iran) - Persian calendar (Jalali)
    fr-CA Canada (French)
    fr-FR France
    he-IL-u-ca-hebrew Hebrew (Israel) - Hebrew calendar
    hi-IN India
    id-ID Indonesia
    it-IT Italy
    ja-JP Japanese (Japan) - Gregorian calendar (default)
    ja-JP-u-ca-japanese Japanese (Japan) - Japanese calendar
    ko-KR Korean (Korea) - Gregorian calendar (default)
    ko-KR-u-ca-korean Korean (Korea) - Korean calendar
    ms-MY Malaysia
    nl-NL Netherlands
    pl-PL Poland
    pt-BR Brazil
    pt-PT Portugal
    ru-RU Russia
    th-TH Thailand
    th-TH-u-ca-buddhist Thai (Thailand) - Buddhist calendar
    th-TH-u-nu-thai Thai (Thailand) - Thai digits
    tr-TR Turkey
    vi-VN Vietnam
    zh-CN China
    zh-CN-u-ca-chinese Chinese (China) - Chinese calendar
    zh-Hans-CN Chinese (China) - Gregorian calendar (default)
    zh-Hant-TW-u-ca-taiwan Chinese (Taiwan) - Gregorian calendar (default)
    zh-TW Taiwan
    zh-TW-u-ca-roc Chinese (Taiwan) - Minguo calendar (Republic of China era)

    Please let me know if any locales are missing.


Showcase / Questions / Ideas / Help

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

  1. To use Tabler icons, install Tabler Picker plugin. If the icon is not displayed correctly, please specify a different icon. It may not be an HTML character, or Logseq may not support that icon. It depends on the version of Tabler-icon applied to Logseq.
  2. ⚠️If using "Show Weekday and Week-number" plugin, overlapping days of the week.

    Turn it off in the plugin settings.

  3. This plugin relies on Logseq's DOM (Document Object Model) structure. If the DOM structure changes due to a Logseq version update, styles may not be applied. We will adjust the CSS to deal with it. If you notice something, please raise an issue.

Credit