Skip to content

Commit

Permalink
Merge pull request #237 from vsimakhin/fix/datepicker-logbook-start-date
Browse files Browse the repository at this point in the history
fix datarange picker on the logbook page
  • Loading branch information
vsimakhin authored Jun 20, 2024
2 parents db5c898 + 77ae1b5 commit e5c5555
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [Unreleased]

- Fix: The daterange picker on the main Logbook page didn't recognize the settings for the first day of the week (Monday or Sunday)

## [2.37.0] - 02.06.2024

- Update: Session manager now stores tokens in the database instead of memory. In this case it's possible to run the application in the Cloud platforms (AWS ECS, Google Cloud Run, Kubernetes) without always keeping it live and active.
Expand Down
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ You also can easily export all flight records into EASA style pdf format, print

# Changelog

## [Unreleased]

- Fix: The daterange picker on the main Logbook page didn't recognize the settings for the first day of the week (Monday or Sunday)

## [2.37.0] - 02.06.2024

- Update: Session manager now stores tokens in the database instead of memory. In this case it's possible to run the application in the Cloud platforms (AWS ECS, Google Cloud Run, Kubernetes) without always keeping it live and active.
Expand All @@ -39,16 +43,6 @@ You also can easily export all flight records into EASA style pdf format, print
- Update: Code cleanup, removing code for synchronization with mobile client (will not continue working on it)
- Update: Update golang version (1.21.10) and go packages.

## [2.35.0] - 18.05.2024

- New: Implemented a new responsive user interface that is friendly for desktop, mobile, and tablet devices. The design is based on the adminkit.io template, and all pages are refactored to ensure a seamless user experience across different platforms. Probably some new bugs are introduced ¯\\_(ツ)_*
- Update: rename cmd/web directory to app, just internal change.
- Update: Code optimization. No UI change. Includes:
- Migrated all javascript code to a js files instead of keeping them in gohtml templates, plus some html code optimization. This significantly reduces amouunt of typo and errors.
- Removed map data for css and js files for standard libraries. As a result, the final size of the application binary file is reduced by ~10 MB to ~18MB.
- Added simple brutforce protection for login page.
- Optimize internal helper function, so need for additional error check.

The full changelog is [here](https://github.com/vsimakhin/web-logbook/blob/main/CHANGELOG.md)

# Usage
Expand Down
2 changes: 1 addition & 1 deletion app/static/js/wlb-logbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const logbookUtils = function () {
linkedCalendars: false,
locale: {
cancelLabel: 'Clear',
firstDay: firstDay
firstDay: parseInt(firstDay) || 0
}
}, function (start, end, label) {
startDate = start;
Expand Down

0 comments on commit e5c5555

Please sign in to comment.