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

Broken in pop!_os 19.04, "The settings for this extension can't be displayed", TypeError: (new Date(...)).toLocaleFormat is not a function #15

Open
sohxet opened this issue Aug 23, 2019 · 2 comments

Comments

@sohxet
Copy link

sohxet commented Aug 23, 2019

just installed on
system: pop!_os 19.04,
gnome: 3.32.2,
nodejs: 10.15.2,

got the error when I tried accessing the extension settings through Tweaks -> Extensions

https://i.imgur.com/RUbvfCL.png

details:

The settings of extension [email protected] had an error:

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

Stack trace:

dateTimeFormat@/home/andrew/.local/share/gnome-shell/extensions/[email protected]/Utilities.js:15:85
updatePreview@/home/andrew/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:49:25
create@/home/andrew/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:55:2
buildPrefsWidget/<@/home/andrew/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:61
buildPrefsWidget@/home/andrew/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:2
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:75:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:320:17
main@resource:///org/gnome/shell/extensionPrefs/main.js:635:5
@<main>:1:43
@sohxet sohxet changed the title "The settings for this extension can't be displayed" Broken in pop!_os 19.04, "The settings for this extension can't be displayed", TypeError: (new Date(...)).toLocaleFormat is not a function Aug 23, 2019
@axet
Copy link

axet commented Aug 26, 2019

same here, reformat

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


Stack trace:
  dateTimeFormat@/home/axet/.local/share/gnome-shell/extensions/[email protected]/Utilities.js:15:85
  updatePreview@/home/axet/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:49:25
  create@/home/axet/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:55:2
  buildPrefsWidget/<@/home/axet/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:61
  buildPrefsWidget@/home/axet/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:2
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:75:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:320:17
  main@resource:///org/gnome/shell/extensionPrefs/main.js:635:5
  @<main>:1:43

@juliogc
Copy link

juliogc commented Sep 5, 2019

Same here 👇

system: pop!_os 19.04,
gnome: 3.32.1,
nodejs: 12.9. or 8.16.1

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

Stack trace:

dateTimeFormat@/home/juliocorradi/.local/share/gnome-shell/extensions/[email protected]/Utilities.js:15:85
updatePreview@/home/juliocorradi/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:49:25
create@/home/juliocorradi/.local/share/gnome-shell/extensions/[email protected]/FormatTarget.js:55:2
buildPrefsWidget/<@/home/juliocorradi/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:61
buildPrefsWidget@/home/juliocorradi/.local/share/gnome-shell/extensions/[email protected]/prefs.js:136:2
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:75:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:320:17
main@resource:///org/gnome/shell/extensionPrefs/main.js:635:5
@<main>:1:43

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

3 participants