Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix: adding date to the analog clock if showDate is true #3101

Conversation

jorgenwahlberg
Copy link
Contributor

Adding date to the clock module when displayType is "analog" and "showDate" is true. The setting in analogShowDate is respected.

Fixes #3100

MichMich and others added 2 commits April 4, 2023 20:44
## [2.23.0] - 2023-04-04

Thanks to: @angeldeejay, @buxxi, @CarJem, @dariom, @DaveChild, @dWoolridge, @grenagit, @Hirschberger, @KristjanESPERANTO, @MagMar94, @naveensrinivasan, @nfogal, @psieg, @rajniszp, @retroflex, @SkySails and @tomzt.

Special thanks to @khassel, @rejas and @sdetweil for taking over most (if not all) of the work on this release as project collaborators. This version would not be there without their effort. Thank you guys! You are awesome!

### Added

- Added increments for hourly forecasts in weather module (MagicMirrorOrg#2996)
- Added tests for hourly weather forecast
- Added possibility to ignore MagicMirror repo in updatenotification module
- Added Pirate Weather as new weather provider (MagicMirrorOrg#3005)
- Added possibility to use your own templates in Alert module
- Added error message if `<modulename>.js` file is missing in module folder to get a hint in the logs (MagicMirrorOrg#2403)
- Added possibility to use environment variables in `config.js` (MagicMirrorOrg#1756)
- Added option `pastDaysCount` to default calendar module to control of how many days past events should be displayed
- Added thai language to alert module
- Added option `sendNotifications` in clock module (MagicMirrorOrg#3056)

### Removed

- Removed darksky weather provider
- Removed unneeded (and unwanted) '.' after the year in calendar repeatingCountTitle (MagicMirrorOrg#2896)

### Updated

- Use develop as target branch for dependabot
- Update issue template, contributing doc and sample config
- The weather modules clearly separates precipitation amount and probability (risk of rain/snow)
  - This requires all providers that only supports probability to change the config from `showPrecipitationAmount` to `showPrecipitationProbability`.
- Update tests for weather and calendar module
- Changed updatenotification module for MagicMirror repo only: Send only notifications for `master` if there is a tag on a newer commit
- Update dates in Calendar widgets every minute
- Cleanup jest coverage for patches
- Update `stylelint` dependencies, switch to `stylelint-config-standard` and handle `stylelint` issues, update `main.css` matching new rules
- Update Eslint config, add new rule and handle issue
- Convert lots of callbacks to async/await
- Revise require imports (MagicMirrorOrg#3071 and MagicMirrorOrg#3072)

### Fixed

- Fix wrong day labels in envcanada forecast (MagicMirrorOrg#2987)
- Fix for missing default class name prefix for customEvents in calendar
- Fix electron flashing white screen on startup (MagicMirrorOrg#1919)
- Fix weathergov provider hourly forecast (MagicMirrorOrg#3008)
- Fix message display with HTML code into alert module (MagicMirrorOrg#2828)
- Fix typo in french translation
- Yr wind direction is no longer inverted
- Fix async node_helper stopping electron start (MagicMirrorOrg#2487)
- The wind direction arrow now points in the direction the wind is flowing, not into the wind (MagicMirrorOrg#3019)
- Fix precipitation css styles and rounding value
- Fix wrong vertical alignment of calendar title column when wrapEvents is true (MagicMirrorOrg#3053)
- Fix empty news feed stopping the reload forever
- Fix e2e tests (failed after async changes) by running calendar and newsfeed tests last
- Lint: Use template literals instead of string concatenation
- Fix default alert module to render HTML for title and message
- Fix Open-Meteo wind speed units
@codecov-commenter
Copy link

codecov-commenter commented May 7, 2023

Codecov Report

Merging #3101 (35af66a) into develop (83315f1) will increase coverage by 0.03%.
The diff coverage is 0.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           develop    #3101      +/-   ##
===========================================
+ Coverage    25.61%   25.65%   +0.03%     
===========================================
  Files           53       53              
  Lines        11421    11426       +5     
===========================================
+ Hits          2926     2931       +5     
  Misses        8495     8495              
Impacted Files Coverage Δ
modules/default/clock/clock.js 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

@rejas
Copy link
Collaborator

rejas commented May 8, 2023

Seems this was introduced with #2971

Makes me think if people are using these config options at all, especially the "OBSOLETE" analogShowDate option.

So maybe we can clean that option mess a little more? Or maybe do it in a seperate PR and jsut merge this?

Also, @jorgenwahlberg can you add a test for the date option with analogclockface?

@khassel
Copy link
Collaborator

khassel commented May 8, 2023

and jsut merge this?

cannot be merged because wrong target branch, master instead of develop, must be fixed before merge ...

@jorgenwahlberg jorgenwahlberg changed the base branch from master to develop May 9, 2023 21:37
@jorgenwahlberg
Copy link
Contributor Author

Changed target branch to develop, merged changes from develop

@khassel
Copy link
Collaborator

khassel commented May 15, 2023

Or maybe do it in a seperate PR and jsut merge this?

@rejas I'm fine with this, now up to you to merge or not ...

@rejas rejas merged commit babd22b into MagicMirrorOrg:develop May 19, 2023
@jorgenwahlberg jorgenwahlberg deleted the bugfix-showing-date-in-digital-clock branch November 27, 2023 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clock in analog mode doesn't show date
5 participants