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

Fix generate logs; date formatting updates (KDS related) #12355

Conversation

nucleogenesis
Copy link
Member

@nucleogenesis nucleogenesis commented Jun 24, 2024

Summary

Fixes #12350

Per @rtibbles suggestion, I've set the date-fns package as a dependency in a new facility package.json to the same version used in KDS currently. Also added it to other relevant packages-dot-json.

Reviewer guidance

  • Can you generate Facility logs?
  • Can you select your birth year in your profile edit page?

@github-actions github-actions bot added APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) DEV: frontend labels Jun 24, 2024
@LianaHarris360
Copy link
Member

This change looks good and aligns with the date-fns updated implementation, now using lowercase letters for the day of the month and year.

@nucleogenesis nucleogenesis force-pushed the fix--generate-session-summary-logs branch from 90f2308 to 1dca87d Compare June 27, 2024 20:29
@nucleogenesis nucleogenesis requested review from rtibbles and removed request for LianaHarris360 June 27, 2024 20:44
@nucleogenesis nucleogenesis marked this pull request as ready for review June 27, 2024 20:44
Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes make sense to me - I'd like @pcenov to confirm the fix here!

@pcenov
Copy link
Member

pcenov commented Jul 1, 2024

Hi @nucleogenesis - for some reason this is still not working and I am getting the same error in the console as before:

2024-07-01_14-23-00

Logs_DB.zip

I can select my birth year in the Profile page though.

@nucleogenesis nucleogenesis marked this pull request as draft July 1, 2024 21:37
@nucleogenesis
Copy link
Member Author

I converted this into a draft as #12385 will fix the bug this intended to fix.

Once we're able to get our dependencies & such aligned correctly across Kolibri & KDS, this can be revived as it includes necessary fixes when we update date-fns to 3.x in the future.

@nucleogenesis nucleogenesis removed the request for review from pcenov July 1, 2024 21:39
@rtibbles
Copy link
Member

rtibbles commented Jul 2, 2024

Let's close this, and we can file follow up issues for date-fns upgrades separately.

@rtibbles rtibbles closed this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) DEV: frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kolibri 0.17 regression - Cannot generate session and summary logs
4 participants