GithubHelp home page GithubHelp logo

atom-clock's People

Contributors

b3by avatar ftm avatar genius69 avatar jadchaar avatar mark-hahn avatar matthew-e-brown avatar vinkla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atom-clock's Issues

ES6 conversion

The entire package should be ported into ES6. Also, the dependency from space-pen-views should be remove, as there is no really need to use it, and the package will be considerably faster. This would also fix #8 I think.

Wrong screenshot for 12 hour

Never mind that this went unnoticed for 5 years, but the screenshot under MMMM Do, dddd, h:mm:ss a is clearly showing an hour bigger than 12.

(Created this after seeing #1)

Tooltip alert for UTC time

It could be helpful to have an UTC indicator in the tooltip, that should show when the UTC time is enabled. Assuming the tooltip time format is still LLLL, the indicator could be something like:

(UTC) Wednesday, August 30, 2017 11:21 AM

Incorrect local time

I've been using this package for a couple of years now, and, while I haven't actually been staring at the time all day every day, I am confident it used to be just fine!

However, today, atom-clock doesn't display my correct local time.
I'm not talking about internationalization, the locale works fine when I change the language, I am not mistakenly looking at the UTC time (which works fine).

I just dropped a Z in my Time format configuration and I can see it believes I'm in a +02:00 timezone. Paris (I'm in France) currently is aligned with GMT+1... perhaps this has to do with Daylight Saving Time?

I just tried it out and Moment does definitely handle my TZ properly.

moment().tz('Europe/Paris').format('hh:mm A Z') // 04:40 PM +01:00

Maybe updating Moment would resolve the issue?
Or rather, maybe it's pulling a wrong local time configuration from somewhere...

Function.extractParams is deprecated.

Assigning custom properties to a marker when creating/copying it is
deprecated. Please, consider storing the custom properties you need in
some other object in your package, keyed by the marker's id property.

Function.extractParams (<embedded>:14:61659)
MarkerLayer.markRange (<embedded>:14:72468)
DisplayMarkerLayer.markBufferRange (<embedded>:14:1091810)
TextEditor.markBufferRange (<embedded>:11:28288)
SearchModel.start (C:\Users\PC\.atom\packages\incremental-search\lib\search-model.coffee:79:45)
new SearchModel (C:\Users\PC\.atom\packages\incremental-search\lib\search-model.coffee:34:12)

Add a hot key to have a notification

Is it possible to have a hotkey to have a popup or something with the time and date, like a gritter notification (but not on the left/right rail) or something similar? Something right in the middle.

Missing the clock icon.

When I don't select,on the left of the time ,it looks lack something.

unselect

When I select ,the time move to the left and the clock icon missed.
2

Clock does not update at interval

Just updated atom-clock to 0.0.7 and the clock stopped updating at configured interval and is stuck at time it was when atom was started.
Everything worked fine before update.

Using atom version 1.5.4

failed to activate the status-bar package when atom-clock enabled

  1. open Atom and and this error message happens

Atom Version: 1.12.8
Electron Version: 1.3.13
System: Mac OS X 10.14
Thrown From: status-bar package, v1.4.1

Stack Trace

Failed to activate the status-bar package

At atom.tooltips.findTooltips is not a function

TypeError: atom.tooltips.findTooltips is not a function
    at AtomClockView.setTooltip (/Users/liuran/.atom/packages/atom-clock/lib/atom-clock-view.js:142:21)
    at AtomClockView.initialize (/Users/liuran/.atom/packages/atom-clock/lib/atom-clock-view.js:19:10)
    at AtomClockView.start (/Users/liuran/.atom/packages/atom-clock/lib/atom-clock-view.js:14:10)
    at Object.consumeStatusBar (/Users/liuran/.atom/packages/atom-clock/lib/atom-clock.js:63:24)
    at Provider.module.exports.Provider.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/provider.js:29:52)
    at ServiceHub.module.exports.ServiceHub.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/service-hub.js:30:20)
    at Package.module.exports.Package.activateServices (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:362:71)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:187:16)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:157:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:150:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:550:34)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:531:29
    at Config.module.exports.Config.transactAsync (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:526:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:508:46)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:792:28

Uncaught TypeError: Cannot read property 'enable' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Ubuntu 18.04.1
Thrown From: atom-clock package 0.1.16

Stack Trace

Uncaught TypeError: Cannot read property 'enable' of undefined

At /home/sky/.atom/packages/atom-clock/lib/atom-clock-view.js:140

TypeError: Cannot read property 'enable' of undefined
    at AtomClockView.setTooltip (/packages/atom-clock/lib/atom-clock-view.js:140:50)
    at /packages/atom-clock/lib/atom-clock-view.js:35:12
    at emitter.on (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:335221)
    at Function.simpleDispatch (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:1189772)
    at Emitter.emit (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:1191213)
    at Config.emitChangeEvent (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:337709)
    at Config.endTransaction (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:332480)
    at Config.transact (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:332099)
    at Config._resetSettings (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:333732)
    at Config.resetUserSettings (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:333499)
    at disposables.add.applicationDelegate.onDidChangeUserSettings.e (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:1:644526)
    at ipcMessageEmitter.on.t (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:1:660858)
    at Function.simpleDispatch (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:1189772)
    at Emitter.emit (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:11:1191213)
    at EventEmitter._ipcMessageEmitter.get_ipcRenderer.on (/snap/atom/207/usr/share/atom/resources/app/static/<embedded>:1:657482)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

Non-Core Packages

atom-clock 0.1.16 
colorblind-wombat-dark-syntax 0.6.0 
Hydrogen 2.6.0 
javascript-snippets 1.2.1 
teletype 0.13.3 

Last character in clock is missing

screenshot_2017-03-01_13-27-57

When Atom is launched, clock doesn't display last character. If I go to settings and change format, it goes normal for a while but goes back to missing last character.

Atom: 1.15.4 x64
Electron: 1.3.13
OS: XUbuntu 16.04
Thrown From: atom-clock package 0.1.5

Failed to activate the ide-python package

Stack Trace
Any additional information, configuration or data that might be necessary to reproduce the issue.
TypeError: atom.tooltips.findTooltips is not a function
at AtomClockView.setTooltip (/home/wolfie/.atom/packages/atom-clock/lib/atom-clock-view.js:140:21)
at AtomClockView.initialize (/home/wolfie/.atom/packages/atom-clock/lib/atom-clock-view.js:19:10)
at AtomClockView.start (/home/wolfie/.atom/packages/atom-clock/lib/atom-clock-view.js:14:10)
at Object.consumeStatusBar (/home/wolfie/.atom/packages/atom-clock/lib/atom-clock.js:63:24)
at Provider.module.exports.Provider.provide (/usr/share/atom/resources/app.asar/node_modules/service-hub/lib/provider.js:29:52)
at ServiceHub.module.exports.ServiceHub.provide (/usr/share/atom/resources/app.asar/node_modules/service-hub/lib/service-hub.js:30:20)
at Package.module.exports.Package.activateServices (/usr/share/atom/resources/app.asar/src/package.js:362:71)
at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:187:16)
at /usr/share/atom/resources/app.asar/src/package.js:157:32
at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
at /usr/share/atom/resources/app.asar/src/package.js:150:26
at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:147:34)
at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:550:34)
at /usr/share/atom/resources/app.asar/src/package-manager.js:531:29
at Config.module.exports.Config.transactAsync (/usr/share/atom/resources/app.asar/src/config.js:337:18)
at PackageManager.module.exports.PackageManager.activatePackages (/usr/share/atom/resources/app.asar/src/package-manager.js:526:19)
at PackageManager.module.exports.PackageManager.activate (/usr/share/atom/resources/app.asar/src/package-manager.js:508:46)
at /usr/share/atom/resources/app.asar/src/atom-environment.js:792:28

Clock position with GitHub package

With one of the latest Atom updates they seem to have added a GitHub package which adds items to the status bar so the clock is no longer the furthest to the right.

screen shot 2017-06-18 at 09 40 19

This seems to be because atom-clock uses priority: -1 when creating the status bar tile (code) whereas the GitHub package uses priority: -50 (code).

I suppose if you want the clock to always be the furthest to the right we could just use priority: -1000 or something, maybe this could be made into something the user could control?

atom-clock throws errors after upgrade to babel 6

We have upgraded babel in Atom core(atom/atom#13823) and noticed that your package is no longer working after these changes, in particular we found the following error when starting Atom master 1.16.0-dev-02a1010:

Failed to activate the status-bar package
contentWidth is not defined
ReferenceError: contentWidth is not defined
    at AtomClockView.adjustElementSize (atom-clock-view.js:97:5)
    at AtomClockView.initialize (atom-clock-view.js:21:10)
    at AtomClockView.start (atom-clock-view.js:14:10)
    at Object.consumeStatusBar (atom-clock.js:45:24)
    at Provider.module.exports.Provider.provide (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\node_modules\service-hub\lib\provider.js:29:52)
    at ServiceHub.module.exports.ServiceHub.provide (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\node_modules\service-hub\lib\service-hub.js:30:20)
    at Package.module.exports.Package.activateServices (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package.js:396:71)
    at Package.module.exports.Package.activateNow (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package.js:221:16)
    at C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package.js:190:32
    at Package.module.exports.Package.measure (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package.js:96:15)
    at C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package.js:183:26
    at Package.module.exports.Package.activate (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package-manager.js:550:34)
    at C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package-manager.js:531:29
    at Config.module.exports.Config.transactAsync (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package-manager.js:526:19)
    at PackageManager.module.exports.PackageManager.activate (C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\package-manager.js:508:46)
    at C:\Users\lineri\AppData\Local\atom\app-1.16.0-dev-49ec99d\resources\app.asar\src\atom-environment.js:812:28

To ensure your package keeps working after we will release the aforementioned pull request, please make sure to fix these errors and publish a new version.

Please, let me know if you have any questions or concerns and if I can help somehow. Thanks!

/cc: @as-cii

Suggestion

It would be nice to have the option to select where the clock shows up left/right.
I would much rather have it on the left-hand side.
text-align: left; didn't do the trick
float: left; made it show up at the beginning of the right-hand side.
I'm including a screenshot with an X of where I would like it to be

clock

Second numbers do not work [OS X]

I am using 1.15.0 on OS X 10.12.3 and I am using this code.

MMMM Do, dddd, h:mm:ss a

The seconds do not update until a minute has passed, so it always appears at 00, except the moment that you paste it in. It also doesn't work with milliseconds and such.

Color change

Hi, I love this add-on.
What would be the best possible way to add color-picker to the clock?
I am mostly using the dark theme and would like the option to change the color to green, blue, etc...

Thanks

Just an idea I had now with the last update...

I think a good idea would be to put a kind of alarm on the clock since sometimes we end up putting the edit in full screen causing that we lose the notion of the hour and we could define some hour and on this hour would appear a "pop-up" with the alarm...

Failed to activate the atom-clock package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.14.3 x64
Electron: 1.3.13
OS: Mac OS X 10.12.2
Thrown From: atom-clock package 0.1.5

Stack Trace

Failed to activate the atom-clock package

At Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Error (native)
    at /app.asar/node_modules/status-bar/lib/status-bar-view.js:93:23)
    at AtomClockView.drawElement (/packages/atom-clock/lib/atom-clock-view.js:54:20)
    at AtomClockView.start (/packages/atom-clock/lib/atom-clock-view.js:13:10)
    at Object.consumeStatusBar (/packages/atom-clock/lib/atom-clock.js:45:24)
    at Provider.module.exports.Provider.provide (/app.asar/node_modules/service-hub/lib/provider.js:29:52)
    at ServiceHub.module.exports.ServiceHub.consume (/app.asar/node_modules/service-hub/lib/service-hub.js:50:18)
    at Package.module.exports.Package.activateServices (/app.asar/src/package.js:404:75)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:221:16)
    at /app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at /app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
    at /app.asar/node_modules/settings-view/lib/package-manager.js:439:29
    at exit (/app.asar/node_modules/settings-view/lib/package-manager.js:69:16)
    at triggerExitCallback (/app.asar/src/buffered-process.js:303:11)
    at /app.asar/src/buffered-process.js:333:11)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

Commands

     -5:23 autocomplete-plus:confirm (input.hidden-input)
  7x -5:22.1.0 core:backspace (input.hidden-input)
     -5:20 editor:newline (input.hidden-input)
  2x -5:17.6.0 core:backspace (input.hidden-input)
     -5:13.3.0 core:move-down (input.hidden-input)
     -5:13.1.0 autocomplete-plus:confirm (input.hidden-input)
     -5:13.1.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
 11x -5:10.5.0 core:move-right (input.hidden-input)
 38x -5:07.8.0 core:backspace (input.hidden-input)
     -3:29.8.0 core:confirm (input.hidden-input)
 10x -1:47 core:backspace (input.hidden-input)
     -1:41.7.0 core:confirm (input.hidden-input)

Non-Core Packages

ariake-dark-syntax 0.1.3 
atom-clock 0.1.5 
atom-material-syntax 1.0.2 
atom-material-ui 1.3.9 
genesis-ui 0.5.0 
solarized-dark-ui 0.3.2 
solarized-seti-ui 0.8.6 

Cannot find module 'jquery

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.12.7
Electron Version: 1.3.13
System: Microsoft Windows 10 Pro
Thrown From: status-bar package, v1.4.1

Stack Trace

Failed to activate the status-bar package

At Cannot find module 'jquery'

Error: Cannot find module 'jquery'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\electron.asar\common\reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\User\.atom\packages\atom-clock\node_modules\space-pen\lib\space-pen.js:9:18)
    at Object.<anonymous> (C:\Users\User\.atom\packages\atom-clock\node_modules\space-pen\lib\space-pen.js:634:4)
    at Module._compile (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.value [as .js] (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\compile-cache.js:201:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\User\.atom\packages\atom-clock\node_modules\atom-space-pen-views\lib\main.js:4:10)
    at Object.<anonymous> (C:\Users\User\.atom\packages\atom-clock\node_modules\atom-space-pen-views\lib\main.js:22:4)
    at Module._compile (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.value [as .js] (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\compile-cache.js:201:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/atom-clock/lib/atom-clock-view.coffee:1:10)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/atom-clock/lib/atom-clock-view.coffee:1:1)
    at Module._compile (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.value [as .coffee] (C:\Users\User\AppData\Local\atom\app-1.12.7\resources\app.asar\src\compile-cache.js:201:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)

Commands

Config

{
  "core": {
    "telemetryConsent": "no",
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
aligner-php, v1.0.0 (inactive)
atom-beautify, v0.29.13 (inactive)
atom-clock, v0.0.8 (inactive)
emmet, v2.4.3 (inactive)
highlight-line, v0.11.1 (inactive)
minimap, v4.25.7 (inactive)
qolor, v0.4.1 (inactive)
wordpress-api, v1.2.2 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (inactive)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (inactive)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (inactive)
archive-view, v0.62.0 (inactive)
autocomplete-atom-api, v0.10.0 (inactive)
autocomplete-css, v0.13.1 (inactive)
autocomplete-html, v0.7.2 (inactive)
autocomplete-plus, v2.31.4 (inactive)
autocomplete-snippets, v1.11.0 (inactive)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (inactive)
background-tips, v0.26.1 (inactive)
bookmarks, v0.42.0 (inactive)
bracket-matcher, v0.82.2 (inactive)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (inactive)
dev-live-reload, v0.47.0 (inactive)
encoding-selector, v0.22.0 (inactive)
exception-reporting, v0.40.0 (inactive)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (inactive)
git-diff, v1.1.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (inactive)
image-view, v0.60.0 (inactive)
incompatible-packages, v0.26.1 (inactive)
keybinding-resolver, v0.35.0 (inactive)
line-ending-selector, v0.5.0 (inactive)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (inactive)
metrics, v1.1.2 (inactive)
notifications, v0.65.1 (inactive)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (inactive)
snippets, v1.0.4 (inactive)
spell-check, v0.68.4 (inactive)
status-bar, v1.4.1 (inactive)
styleguide, v0.47.2 (inactive)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (inactive)
timecop, v0.33.2 (inactive)
tree-view, v0.210.0 (inactive)
update-package-dependencies, v0.10.0 (inactive)
welcome, v0.35.1 (inactive)
whitespace, v0.35.0 (inactive)
wrap-guide, v0.38.2 (inactive)
language-c, v0.54.0 (inactive)
language-clojure, v0.22.1 (inactive)
language-coffee-script, v0.48.0 (inactive)
language-csharp, v0.13.0 (inactive)
language-css, v0.40.1 (inactive)
language-gfm, v0.88.0 (inactive)
language-git, v0.15.0 (inactive)
language-go, v0.43.0 (inactive)
language-html, v0.47.1 (inactive)
language-hyperlink, v0.16.1 (inactive)
language-java, v0.24.0 (inactive)
language-javascript, v0.122.0 (inactive)
language-json, v0.18.3 (inactive)
language-less, v0.29.6 (inactive)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (inactive)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.37.0 (inactive)
language-php, v0.37.3 (inactive)
language-property-list, v0.8.0 (inactive)
language-python, v0.45.1 (inactive)
language-ruby, v0.70.2 (inactive)
language-ruby-on-rails, v0.25.1 (inactive)
language-sass, v0.57.0 (inactive)
language-shellscript, v0.23.0 (inactive)
language-source, v0.9.0 (inactive)
language-sql, v0.25.0 (inactive)
language-text, v0.7.1 (inactive)
language-todo, v0.29.1 (inactive)
language-toml, v0.18.1 (inactive)
language-xml, v0.34.12 (inactive)
language-yaml, v0.27.1 (inactive)

# Dev
No dev packages

Feature request: fixed width for clock area

By default, the clock area is text-aligned to the right edge of the bottom bar. Additionally, the font is variable-width. When a minute changes (or for more extreme effect, display seconds too), the clock twitches around as different numbers have different widths. As the clock is the rightmost thing on the bar, everything else right-floated on the bar moves around too.

Proposed solutions:

  • Allow setting a fixed width font
  • Add a setting for fixing the clock position

Uncaught Error: Cannot find module 'moment'

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.32.2 ia32
Electron: 2.0.9
OS: Microsoft Windows 7 Ultimate
Thrown From: atom-clock package 0.1.16

Stack Trace

Uncaught Error: Cannot find module 'moment'

At module.js:545

Error: Cannot find module 'moment'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.32.2/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:154368)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:145675)
    at AtomClockView.getDate (/packages/atom-clock/lib/atom-clock-view.js:115:21)
    at HTMLDivElement.title (/packages/atom-clock/lib/atom-clock-view.js:135:27)
    at u.getTitle (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:2932521)
    at u.hasContent (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:2931625)
    at u.show (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:2928370)
    at u.<anonymous> (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:2927746)

Commands

     -0:19.2.0 settings-view:open (input.hidden-input)

Non-Core Packages

atom-clock 0.1.16 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
autocomplete-clang 0.11.5 
file-icons 2.1.26 
gcc-make-run 0.2.12 
python-runner 1.2.0 
teletype 0.13.3 

HTMLDocument.registerElement is deprecated.

Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement (file:///D:/Programme/pulsar/resources/app.asar/static/index.js:100:12)
Function.initClass (C:\Users\lucas\.pulsar\packages\autocomplete-python\node_modules\kite-installer\lib\elements\atom\install-element.js:12:35)
Object.<anonymous> (C:\Users\lucas\.pulsar\packages\autocomplete-python\node_modules\kite-installer\lib\elements\atom\install-element.js:144:33)
Object.<anonymous> (C:\Users\lucas\.pulsar\packages\autocomplete-python\node_modules\kite-installer\lib\elements\atom\install-element.js:146:3)
Module._compile (D:\Programme\pulsar\resources\app.asar\src\native-compile-cache.js:120:30)
Object..js (D:\Programme\pulsar\resources\app.asar\src\compile-cache.js:252:23)

Add possibility to copy time into clipboard

Hi @b3by,

would you consider adding a "copy" feature for the time?

Use-Case is that i'm using Atom for blogging and i would need to add the current time as a creation date. Easy would be if i could just click on the time and it would be in the clipboard.

Thanks for your time!

Best Regards, Uli

Day Fraction

Would it be possible to create an option for day fraction (i.e., 0 to 1 or 0% to 100%)?

Custom font size and color

Hi there,

I would love an option for setting the font size and text color.
What do you think about this?

Failed to load the atom-clock package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.35.1 x64
Electron: 2.0.18
OS: Microsoft Windows 10 Enterprise
Thrown From: atom-clock package 0.1.16

Stack Trace

Failed to load the atom-clock package

At file:///C:/Users/PANZER/.atom/packages/atom-clock/lib/atom-clock-view.js: Unexpected token (164:0)

SyntaxError: file:///C:/Users/PANZER/.atom/packages/atom-clock/lib/atom-clock-view.js: Unexpected token (164:0)
�[0m
�[32m}�[39m
�[0m
    at Parser.pp.raise (/app.asar/node_modules/babylon/lib/parser/location.js:24:13)
    at Parser.pp.unexpected (/app.asar/node_modules/babylon/lib/parser/util.js:82:8)
    at Parser.pp.parseIdent (/app.asar/node_modules/babylon/lib/parser/expression.js:818:10)
    at Parser.pp.parsePropertyName (/app.asar/node_modules/babylon/lib/parser/expression.js:694:135)
    at Parser.pp.parseClass (/app.asar/node_modules/babylon/lib/parser/statement.js:559:10)
    at Parser.pp.parseExprAtom (/app.asar/node_modules/babylon/lib/parser/expression.js:405:19)
    at Parser.parseExprAtom (/app.asar/node_modules/babylon/lib/plugins/jsx/index.js:412:22)
    at Parser.pp.parseExprSubscripts (/app.asar/node_modules/babylon/lib/parser/expression.js:236:19)
    at Parser.pp.parseMaybeUnary (/app.asar/node_modules/babylon/lib/parser/expression.js:217:19)
    at Parser.pp.parseExprOps (/app.asar/node_modules/babylon/lib/parser/expression.js:163:19)
    at Parser.pp.parseMaybeConditional (/app.asar/node_modules/babylon/lib/parser/expression.js:145:19)
    at Parser.pp.parseMaybeAssign (/app.asar/node_modules/babylon/lib/parser/expression.js:112:19)
    at Parser.pp.parseExport (/app.asar/node_modules/babylon/lib/parser/statement.js:682:21)
    at Parser.parseExport (/app.asar/node_modules/babylon/lib/plugins/flow.js:713:20)
    at Parser.pp.parseStatement (/app.asar/node_modules/babylon/lib/parser/statement.js:115:90)
    at Parser.parseStatement (/app.asar/node_modules/babylon/lib/plugins/flow.js:655:22)
    at Parser.pp.parseTopLevel (/app.asar/node_modules/babylon/lib/parser/statement.js:30:21)
    at Parser.parse (/app.asar/node_modules/babylon/lib/parser/index.js:70:17)
    at Object.parse (/app.asar/node_modules/babylon/lib/index.js:45:50)
    at Object.exports.default (/app.asar/node_modules/babel-core/lib/helpers/parse.js:36:18)
    at File.parse (/app.asar/node_modules/babel-core/lib/transformation/file/index.js:574:40)
    at File.parseCode (/app.asar/node_modules/babel-core/lib/transformation/file/index.js:691:20)
    at /app.asar/node_modules/babel-core/lib/transformation/pipeline.js:167:12
    at File.wrap (/app.asar/node_modules/babel-core/lib/transformation/file/index.js:639:16)
    at Pipeline.transform (/app.asar/node_modules/babel-core/lib/transformation/pipeline.js:165:17)
    at Object.e.compile (~/AppData/Local/atom/app-1.35.1/resources/app/static/<embedded>:11:576828)
    at Object.compile (~/AppData/Local/atom/app-1.35.1/resources/app/static/<embedded>:11:573627)
    at compileFileAtPath (~/AppData/Local/atom/app-1.35.1/resources/app/static/<embedded>:11:147800)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.35.1/resources/app/static/<embedded>:11:150197)
    at Module.load (module.js:561:32)

Commands

Non-Core Packages

atom-clock 0.1.16 
atom-material-syntax undefined 
atom-material-ui 2.1.3 
editorconfig 2.3.0 
firacode 0.3.0 
gtk-dark-theme 0.1.4 
symbols-list 2.5.3 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.