[PR #1562] [MERGED] Improve dates, times and schedule backup info #3577

Closed
opened 2026-04-25 00:16:12 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/1562
Author: @mfcar
Created: 2/27/2023
Status: Merged
Merged: 3/5/2023
Merged by: @advplyr

Base: masterHead: addNextScheduleInfo


📝 Commits (7)

  • 071444a Improve dates, times and schedule backup info
  • e56164a Add a new date format
  • 7c7a6df Using cron-parse lib to parse the cron expression. Cron-parse can handle with more scenarios.
  • c4208a4 package-lock.json lacking
  • d8b6e09 Merge branch 'master' into addNextScheduleInfo
  • 6aeed24 Update example label
  • b4f1fd5 Remove currently from date/time setting

📊 Changes

31 files changed (+287 additions, -55 deletions)

View changed files

📝 client/components/cards/LazyBookCard.vue (+2 -2)
📝 client/components/modals/BookmarksModal.vue (+8 -2)
📝 client/components/modals/ListeningSessionModal.vue (+9 -3)
📝 client/components/tables/BackupsTable.vue (+10 -4)
📝 client/components/tables/UsersTable.vue (+10 -4)
📝 client/components/tables/podcast/EpisodeTableRow.vue (+5 -2)
📝 client/components/tables/podcast/EpisodesTable.vue (+9 -3)
📝 client/components/widgets/CronExpressionBuilder.vue (+9 -0)
📝 client/package-lock.json (+34 -1)
📝 client/package.json (+2 -1)
📝 client/pages/config/backups.vue (+33 -15)
📝 client/pages/config/index.vue (+19 -2)
📝 client/pages/config/sessions.vue (+9 -3)
📝 client/pages/config/users/_id/index.vue (+8 -2)
📝 client/pages/config/users/_id/sessions.vue (+9 -3)
📝 client/pages/item/_id/index.vue (+1 -1)
📝 client/pages/library/_library/podcast/latest.vue (+5 -2)
📝 client/plugins/init.client.js (+17 -1)
📝 client/plugins/utils.js (+7 -1)
📝 client/store/globals.js (+30 -0)

...and 11 more files

📄 Description

This pull request improves the dates throughout the entire system:

  • Add more Date Formats options
  • Add a Time Format
  • Add an example for the date and time formats selected
  • Almost all the dates on the ABS try to respect the date and time formats selected
  • The backup page shows the next scheduled run based on the cronjob (the date is shown respecting the date format selected) - Fix: #1491
  • The schedule podcast modal received an improvement to show the next scheduled run based on the cron expression inputted (if the expression is validated)
  • Using Cron Parse to parse the cron expressions. Cron parse is a tiny and well-documented library and receives updates with frequency.

New date formats with the example

Screenshot 2023-02-27 at 17 44 27

New time format with the example

Screenshot 2023-02-27 at 17 44 33

Dates on the ABS respecting the date and time format selected

Screenshot 2023-02-27 at 17 52 21

Improvement on the backup screen showing the next scheduled run and dates respecting the date format

Screenshot 2023-02-27 at 17 50 47

Improvements on the schedule modal showing the next scheduled run

Screenshot 2023-02-27 at 17 51 49 Screenshot 2023-02-27 at 17 51 59

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/1562 **Author:** [@mfcar](https://github.com/mfcar) **Created:** 2/27/2023 **Status:** ✅ Merged **Merged:** 3/5/2023 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `addNextScheduleInfo` --- ### 📝 Commits (7) - [`071444a`](https://github.com/advplyr/audiobookshelf/commit/071444a9e735d2440005b6dc8b3e6bac761b4a46) Improve dates, times and schedule backup info - [`e56164a`](https://github.com/advplyr/audiobookshelf/commit/e56164aa5a819b51ecaa64a352d2ffda78c5168b) Add a new date format - [`7c7a6df`](https://github.com/advplyr/audiobookshelf/commit/7c7a6df6e45a82d55fda1c7bb4877d9f3d287dc5) Using cron-parse lib to parse the cron expression. Cron-parse can handle with more scenarios. - [`c4208a4`](https://github.com/advplyr/audiobookshelf/commit/c4208a4690810ce802e3b93819698a4987497c43) package-lock.json lacking - [`d8b6e09`](https://github.com/advplyr/audiobookshelf/commit/d8b6e09bc0b80510dd68ad47d2475691efa9066d) Merge branch 'master' into addNextScheduleInfo - [`6aeed24`](https://github.com/advplyr/audiobookshelf/commit/6aeed24296077585c600e3fe349c83f14cca33c8) Update example label - [`b4f1fd5`](https://github.com/advplyr/audiobookshelf/commit/b4f1fd5b25b1191b71e9497a2eb5f894118b789a) Remove currently from date/time setting ### 📊 Changes **31 files changed** (+287 additions, -55 deletions) <details> <summary>View changed files</summary> 📝 `client/components/cards/LazyBookCard.vue` (+2 -2) 📝 `client/components/modals/BookmarksModal.vue` (+8 -2) 📝 `client/components/modals/ListeningSessionModal.vue` (+9 -3) 📝 `client/components/tables/BackupsTable.vue` (+10 -4) 📝 `client/components/tables/UsersTable.vue` (+10 -4) 📝 `client/components/tables/podcast/EpisodeTableRow.vue` (+5 -2) 📝 `client/components/tables/podcast/EpisodesTable.vue` (+9 -3) 📝 `client/components/widgets/CronExpressionBuilder.vue` (+9 -0) 📝 `client/package-lock.json` (+34 -1) 📝 `client/package.json` (+2 -1) 📝 `client/pages/config/backups.vue` (+33 -15) 📝 `client/pages/config/index.vue` (+19 -2) 📝 `client/pages/config/sessions.vue` (+9 -3) 📝 `client/pages/config/users/_id/index.vue` (+8 -2) 📝 `client/pages/config/users/_id/sessions.vue` (+9 -3) 📝 `client/pages/item/_id/index.vue` (+1 -1) 📝 `client/pages/library/_library/podcast/latest.vue` (+5 -2) 📝 `client/plugins/init.client.js` (+17 -1) 📝 `client/plugins/utils.js` (+7 -1) 📝 `client/store/globals.js` (+30 -0) _...and 11 more files_ </details> ### 📄 Description This pull request improves the dates throughout the entire system: - Add more Date Formats options - Add a Time Format - Add an example for the date and time formats selected - Almost all the dates on the ABS try to respect the date and time formats selected - The backup page shows the next scheduled run based on the cronjob (the date is shown respecting the date format selected) - Fix: #1491 - The schedule podcast modal received an improvement to show the next scheduled run based on the cron expression inputted (if the expression is validated) - Using [Cron Parse](https://github.com/harrisiirak/cron-parser) to parse the cron expressions. Cron parse is a tiny and well-documented library and receives updates with frequency. ------ ### New date formats with the example <img width="402" alt="Screenshot 2023-02-27 at 17 44 27" src="https://user-images.githubusercontent.com/814828/221647134-66687545-39bf-4bc7-9497-de91f0e8e4ca.png"> ### New time format with the example <img width="402" alt="Screenshot 2023-02-27 at 17 44 33" src="https://user-images.githubusercontent.com/814828/221647140-d2f07358-5a42-42b4-be9a-0cfff8bfb53a.png"> ### Dates on the ABS respecting the date and time format selected <img width="832" alt="Screenshot 2023-02-27 at 17 52 21" src="https://user-images.githubusercontent.com/814828/221647151-9b7db212-bd13-4f0d-ad90-981956cd4267.png"> ### Improvement on the backup screen showing the next scheduled run and dates respecting the date format <img width="729" alt="Screenshot 2023-02-27 at 17 50 47" src="https://user-images.githubusercontent.com/814828/221647142-b81d199a-4692-4e74-8fc4-b5dfeadf9d35.png"> ### Improvements on the schedule modal showing the next scheduled run <img width="834" alt="Screenshot 2023-02-27 at 17 51 49" src="https://user-images.githubusercontent.com/814828/221647148-e4273791-4b33-415f-972b-3abf9ba701e4.png"> <img width="834" alt="Screenshot 2023-02-27 at 17 51 59" src="https://user-images.githubusercontent.com/814828/221647150-19795c7f-55cf-427f-9fda-2945017dd837.png"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:16:12 +02:00
adam closed this issue 2026-04-25 00:16:12 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3577