Stop supporting electricity and magnetism atm.

master
PJ Hampton 2017-05-01 18:25:58 +00:00
parent f90fbdf06c
commit c56bd12628
2 changed files with 21 additions and 4 deletions

View File

@ -292,11 +292,26 @@ DDH.conversions = DDH.conversions || {};
],
defaults: ['Pa', 'psi']
},
/*
* There seems to be math js issues regarding the electricity and magnetism
* options. I can't get them to trigger via the command line either.
electricity_magnetism: {
name: "Electricity and magnetism",
units: ['ampere', 'coulomb', 'watt', 'volt', 'ohm', 'farad', 'weber', 'tesla', 'henry', 'siemens', 'electronvolt'],
name: "Electricity and Magnetism",
units: [
'ampere',
'coulomb',
'watt',
'volt',
'ohm',
'farad',
'weber',
'tesla',
'henry',
'siemens',
],
defaults: ['ampere', 'coulomb']
},
*/
// TODO: Support digital conversions. @pjhampton - there were math.js api issues
// digital: {
// name: "Binary",

View File

@ -565,9 +565,9 @@ type: duration
unit: week
---
aliases:
- mons
- mns
- mn
- mns
- mons
- month
- months
type: duration
@ -597,6 +597,7 @@ unit: century
aliases:
- millennia
- millennium
- millenniums
type: duration
unit: millennium
---
@ -669,6 +670,7 @@ aliases:
- electron volt
- electron volts
- evs
- eV
type: energy
unit: electronvolt
symbols: [eV]