Golden 2021-12-19 🌟 v1.1.1.1220 【新增】 clarkwinkelmann/flarum-ext-roll-die 随机骰子。 全部变化:v1.1.1 (1219)…v1.1.1 (1220)
Golden 🌟 版本 v1.4.0 例行更新: 更新核心翻译. 新增翻译: blomstra/database-queue blomstra/gdpr blomstra/horizon blt950/oauth-generic clarkwinkelmann/flarum-ext-meilisearch-dashboard club-1/flarum-ext-server-side-highlight danirod/flarum-plausible datitisev/flarum-post-galleries datlechin/flarum-cbox datlechin/flarum-chatgpt datlechin/flarum-oauth-envato datlechin/flarum-oauth-spotify datlechin/flarum-signup-button datlechin/flarum-simple-tour-guide datlechin/flarum-title-length datlechin/flarum-who-replied davwheat/virtual-authors finteger-ratings finteger-shorts flamarkt/backoffice flamarkt/matomo flarum/bbcode flarum/extension-manager fof/anti-spam fof/clockwork fof/discussion-thumbnail fof/profile-image-crop foskym/flarum-custom-levels foskym/nickname-group-formatter foskym/flarum-oauth-center glowingblue/localizd gtdxyz/flarum-ext-login hikarilan/flarum-passkey-login ianm/boring-avatars ianm/log-viewer ianm/no-meta-title ianm/oauth-line ianm/oauth-reddit ianm/oauth-twitch ianm/twofactor jeromegillard/map justoverclock/be-active-user-indicator justoverclock/best-answer-badge justoverclock/broken-links-checker justoverclock/check-duplicate-discussions justoverclock/composer-autocomplete justoverclock/country-flags justoverclock/discord-widget justoverclock/discussion-tags justoverclock/export-post-to-pdf justoverclock/first-visit-popup justoverclock/frontend-blog justoverclock/hot-discussions-cards justoverclock/igdb-api justoverclock/job-cards justoverclock/last-post-useravatar justoverclock/popular-tags justoverclock/random-post justoverclock/staff-members-widget justoverclock/steam-api justoverclock/thread-read-time justoverclock/user-pc-specs justoverclock/user-statistics justoverclock/users-map-location kilowhat/flarum-ext-cimaise litalino/flarum-adblock litalino/flarum-auto-post-count-badge litalino/flarum-blog-article-series litalino/flarum-country-flags litalino/flarum-geo-weather-widget litalino/flarum-more-bbcode litalino/flarum-related-discussions litalino/flarum-top-bar madeyedeer/avatar-tools madeyedeer/flarum-pallet-theme maicol07/flarum-oidc-client marchccc/flarum-ext-mentions-group-users matteociaroni/flarum-old-content matteociaroni/flarum-public-suspensions michaelbelgium/flarum-umami muhammedsaidckr/flarum-gemini nearata/flarum-ext-cloudflare nearata/flarum-ext-maintenance-mode nearata/flarum-ext-password-strength-enforcer nearata/flarum-ext-related-discussions neoncube/flarum-private-messages nodeloc/dislikes nodeloc-ignore-hidden-tags nodeloc/lottery nodeloc/flarum-ext-my-emoji nodeloc-referral nodeloc/telegram nodeloc-whisper ordinaryjellyfish/automod peruguitar/flarum-ext-user-portrait rehiy/flarum-reply-to-see rob006/flarum-ext-last-post-avatar sas_sam/flarum-regrole serakoi/flarumstaffbadge sycho/flarum-force-password-reset tohsakarat/save-and-load-draft-automatically tohsakarat/table-of-content tohsakarat/tags-filter umhelper/oauth-clerk webbinaro/gpx-preview wolfgang-demeter/flarum-ext-bbcode-5star-rating xrh0905/oauth-microsoft xsoft-ict/mason-tag yippy/flarum-ext-auth-ldap yippy/flarum-tag-with-themes ziiven/flarum-decoration-store ziiven/flarum-pay-to-see ziiven/flarum-post-number ziiven-raffle-ticket 更新翻译: acpl/flarum-lscache acpl/mobile-tab afrux/top-posters-widget akr/chevereto antoinefr/flarum-ext-money askvortsov/flarum-article-series askvortsov/flarum-auto-moderator askvortsov/flarum-moderator-warnings askvortsov/flarum-pwa askvortsov/flarum-rich-text blomstra/conversations blomstra/fontawesome blomstra/oauth-apple blomstra/payments blomstra/s3-assets blomstra/trello blomstra/turnstile blomstra/web3 cccyun/flarum-clogin-oauth clarkwinkelmann/flarum-ext-anonymous-posting clarkwinkelmann/flarum-ext-composer-page clarkwinkelmann/flarum-ext-discussion-lists clarkwinkelmann/flarum-ext-jwt-cookie-login clarkwinkelmann/flarum-ext-likes-received clarkwinkelmann/flarum-ext-mailing clarkwinkelmann/flarum-ext-money-rewards clarkwinkelmann/flarum-ext-money-to-all clarkwinkelmann/flarum-ext-passwordless clarkwinkelmann/flarum-ext-post-stream-search clarkwinkelmann/flarum-ext-readonly-profile clarkwinkelmann/flarum-ext-reset-preferences clarkwinkelmann/flarum-ext-scout clarkwinkelmann/flarum-ext-sudo-mode clarkwinkelmann/flarum-ext-typewriter clarkwinkelmann/flarum-ext-vote-with-money club-1/flarum-ext-cross-references convo-extensions/flarum-ext-guest-posting datitisev/flarum-backup datlechin/flarum-bbcode-hide-content datlechin/flarum-birthdays-widget datlechin/flarum-birthdays datlechin/flarum-copy-links datlechin/flarum-discussion-overview datlechin/flarum-keyboard-shortcuts datlechin/flarum-link-preview datlechin/flarum-more-discussions datlechin/flarum-offline-indicator datlechin/flarum-tag-passwords flamarkt/taxonomies flarum/likes flarum/lock flarum/mentions flarum/sticky flarum/tags fof/ban-ips fof/best-answer fof/byobu fof/default-user-preferences fof/discussion-language fof/doorman fof/filter fof/follow-tags fof/forum-statistics-widget fof/geoip fof/ignore-users fof/linguist fof/links fof/mason fof/masquerade fof/oauth fof/polls fof/reactions fof/recaptcha fof/sentry fof/share-social fof/sitemap fof/split fof/terms fof/upload fof/user-bio fof/user-directory fof/username-request fof/webhooks hehongyuanlove/flarum-auth-qq ianm/follow-users ianm/syndication ianm/synopsis ianm/translate justoverclock/auto-post-count-badge justoverclock/discussion-info justoverclock/first-visit-indexpage justoverclock/flarum-ext-keywords justoverclock/related-discussions justoverclock/theaudiodb-api katosdev/signature kilowhat/flarum-ext-audit-free kilowhat/flarum-ext-audit-pro kilowhat/flarum-ext-custom-paths kilowhat/flarum-ext-formulaire kilowhat/flarum-ext-rich-embeds kilowhat/flarum-ext-wordpress maicol07/flarum-ext-sso michaelbelgium/flarum-discussion-views michaelbelgium/mybb-to-flarum migratetoflarum/fake-data nearata/flarum-ext-auth-minecraft nearata/flarum-ext-cakeday nearata/flarum-ext-dsts nearata/flarum-ext-embed-video nearata/flarum-ext-minecraft-avatars nearata/flarum-ext-twofactor spookygames/flarum-ext-auth-keycloak swaggymacro/only-starter sycho/flarum-private-facade the-turk/flarum-flamoji the-turk/flarum-mathren webbinaro/flarum-calendar zerosonesfun-bbcode-button ziiven/flarum-daily-check-in 新增功能: 字体优化 日期格式优化 全部变化:v1.3.0…v1.4.0 更新命令: composer update flarum-lang/chinese-simplified php flarum cache:clear
Golden kai 前一个是利用 Flarum API 重写侧边栏的日期逻辑。 不过像发帖时间、注册日期等其他地方又不方便重写,那就是后一个办法,重写 dayjs 的格式化逻辑。 虽然代码里限制了什么场景才重写 dayjs,但就怕遇到一种情况,比如有插件它就是要用 D MMM 的格式展示日期,那最后一个办法会改变人家的展示逻辑(虽然这种情况微乎其微)