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

Error when loading Preferences dialog. #12

Open
fishnet37222 opened this issue Nov 2, 2018 · 1 comment
Open

Error when loading Preferences dialog. #12

fishnet37222 opened this issue Nov 2, 2018 · 1 comment

Comments

@fishnet37222
Copy link

fishnet37222 commented Nov 2, 2018

I installed this extension in Ubuntu 18.10 using the Gnome Extensions web-site. When I tried to open the Preferences dialog in Gnome Tweak Tool to customize the format, I got the following error message and stack trace.

TypeError: (new Date(...)).toLocaleFormat is not a function

Stack trace:
  dateTimeFormat@/home/dave/.local/share/gnome-shell/extensions/[email protected]/Utilities.js:15:85
  updatePreview@/home/dave/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:49:25
  create@/home/dave/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:55:2
  buildPrefsWidget/<@/home/dave/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:61
  buildPrefsWidget@/home/dave/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:2
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:83:22
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:235:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:389:5
  @<main>:1:43
@christofferholmstedt
Copy link

Same issue as for Fedora see #13, not completely fixed but it is a good start with the changes from @danieljrmay

I just installed Ubuntu 18.10 and got the same error. Clone the changes from https://github.com/danieljrmay/datetime-format and now the settings page works at least.

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

No branches or pull requests

2 participants