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

Unable to view schedule beyond the current week #865

Closed
jbatesuk opened this issue Aug 28, 2019 · 3 comments · Fixed by #866

Comments

@jbatesuk
Copy link

commented Aug 28, 2019

Describe the bug
When trying to access the schedule beyond the current week, nothing is shown. It's blank, despite shows being scheduled for that week

To Reproduce

  1. Open the dashboard
  2. Open /schedule
  3. Select Week/Month or try and skip to the next week
  4. Javascript error is given in console.

Expected behavior
I expected to be able to view the schedule for the next weeks/months, but it's all blank.

LibreTime version:
Version: 306954c (installed yesterday via git)

Additional context
Console error is as follows:

TypeError: date.format is not a function. (In 'date.format('YYYY-MM-DD HH:mm:ss')', 'date.format' is undefined)

@jbatesuk jbatesuk added the bug label Aug 28, 2019

@paddatrapper

This comment has been minimized.

Copy link
Contributor

commented Aug 29, 2019

@hairmare could this be related to #858?

@jbatesuk

This comment has been minimized.

Copy link
Author

commented Aug 29, 2019

A bit more information:

When logging in as a DJ, I can view the schedule beyond the current week without any issue, but not when an Admin or Program Manager.

@hairmare

This comment has been minimized.

Copy link
Member

commented Aug 31, 2019

@paddatrapper It certainly looks like it's related to #858. I think the original branch where I got this change was using a library to monkey patch the format call.

I created #866 that simply reverts this until I can figure out why I did the change (and where the method should be defined).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.