diff --git a/calculators_list.md b/calculators_list.md index c019f91..cfb507b 100644 --- a/calculators_list.md +++ b/calculators_list.md @@ -85,11 +85,15 @@ The registry currently contains 416 unique calculator slugs. | Coulomb per Kilogram to Roentgen | coulomb-per-kilogram-to-roentgen | 3875.96899 | | Coulombs to Ampere-hours – Express a charge in coulombs as ampere-hours. | coulombs-to-ampere-hours | 0.0002777777777777778 | | Cups to Milliliters | cups-to-milliliters | 236.588237 | +| Cups to Ounces (weight) – Convert a cup’s weight into ounces for baking measurements. | cups-to-ounces-weight | 8.0 | | Curie to Becquerel | curie-to-becquerel | 3.7e10 | | Daltons to AMU | daltons-to-amu | 1.0 | | Days to Hours | days-to-hours | 24.0 | | Days to Weeks | days-to-weeks | 0.142857143 | | Days to Years | days-to-years | 0.002737851 | +| Months to Days – Convert months into days using the average year length. | months-to-days | 30.436875 | +| Months to Weeks – Express an average month as weeks. | months-to-weeks | 4.348125 | +| Months to Years – Show how months stack into years. | months-to-years | 0.08333333333333333 | | Atomic Time Units to Seconds – Turn an atomic unit of time into seconds for quantum timing. | atomic-time-units-to-seconds | 2.418884326505e-17 | | Degrees to Mils | degrees-to-mils | 17.777777778 | | Mils to Degrees – Convert mils (1/6400 circle) back into degrees. | mils-to-degrees | 0.05625 | @@ -603,6 +607,7 @@ The registry currently contains 416 unique calculator slugs. | Light Years to Miles – Convert light years to miles. | light-years-to-miles | 5.8786253731808e12 | | Liters to Imperial gallons – Convert liters to imperial gallons. | liters-to-imperial-gallons | 0.219969158 | | Liters to Milliliters – Convert liters to milliliters. | liters-to-milliliters | 1000 | +| Liters to Pecks – Convert liters into US dry pecks for bulk goods. | liters-to-pecks | 0.1099846 | | Liters to Acre-feet – Convert liters to acre-feet. | liters-to-acre-feet | 8.107e-7 | | Liters to Barrel (US oil) – Convert liters to US oil barrels. | liters-to-barrel-us-oil | 0.00628981077 | | Liters to Bushels – Convert liters to US dry bushels. | liters-to-bushels | 0.0284130625 | @@ -1589,7 +1594,7 @@ The registry currently contains 416 unique calculator slugs. - [x] Cubits to Centimeters - [x] Cups to Fluid Ounces - [x] Cups to Gallons -- [ ] Cups to Ounces (weight) +- [x] Cups to Ounces (weight) (`cups-to-ounces-weight`) - [x] Cups to Pints - [x] Cups to Tablespoons - [x] Cups to Teaspoons @@ -1685,7 +1690,7 @@ The registry currently contains 416 unique calculator slugs. - [x] Liters to Fluid Ounces (`liters-to-fluid-ounces`) - [x] Liters to Imperial gallons - [x] Liters to Milliliters -- [ ] Liters to Pecks +- [x] Liters to Pecks (`liters-to-pecks`) - [x] Long Tons to Kilograms - [x] Long Tons to Pounds - [x] Long Tons to Short Tons @@ -1780,9 +1785,9 @@ The registry currently contains 416 unique calculator slugs. - [x] mmHg to Torr (`mmhg-to-torr`) - [ ] Molarity to Grams per liter - [x] Momme to Grams (`momme-to-grams`) -- [ ] Months to Days -- [ ] Months to Weeks -- [ ] Months to Years +- [x] Months to Days (`months-to-days`) +- [x] Months to Weeks (`months-to-weeks`) +- [x] Months to Years (`months-to-years`) - [x] Nanometers to Angstroms (`nanometers-to-angstroms`) - [x] Nanoseconds to Microseconds (`nanoseconds-to-microseconds`) - [x] Nautical Miles to Fathoms (`nautical-miles-to-fathoms`) diff --git a/hdyc-svelte/src/lib/data/calculators.ts b/hdyc-svelte/src/lib/data/calculators.ts index 9551fa9..3aca431 100644 --- a/hdyc-svelte/src/lib/data/calculators.ts +++ b/hdyc-svelte/src/lib/data/calculators.ts @@ -117,11 +117,15 @@ export const calculators: CalculatorDef[] = [ {"slug": "coulomb-per-kilogram-to-roentgen", "name": "Coulomb per Kilogram to Roentgen", "category": "weight", "type": "standard", "labels": {"in1": "Coulomb per Kilogram", "in2": "Roentgen"}, "factor": 3875.96899}, {"slug": "coulombs-to-ampere-hours", "name": "Coulombs to Ampere-hours", "category": "time", "type": "standard", "teaser": "Express a charge in coulombs as ampere-hours.", "labels": {"in1": "Coulombs", "in2": "Ampere-hours"}, "factor": 0.0002777777777777778, "hidden": true}, {"slug": "cups-to-milliliters", "name": "Cups to Milliliters", "category": "volume", "type": "standard", "labels": {"in1": "Cups", "in2": "Milliliters"}, "factor": 236.588237}, + {"slug": "cups-to-ounces-weight", "name": "Cups to Ounces (weight)", "category": "weight", "type": "standard", "teaser": "Convert a cup\u2019s weight into ounces for baking measurements.", "labels": {"in1": "Cups", "in2": "Ounces (weight)"}, "factor": 8.0}, {"slug": "curie-to-becquerel", "name": "Curie to Becquerel", "category": "radiation", "type": "standard", "labels": {"in1": "Curie", "in2": "Becquerel"}, "factor": 37000000000.0}, {"slug": "daltons-to-amu", "name": "Daltons to AMU", "category": "weight", "type": "standard", "labels": {"in1": "Daltons", "in2": "AMU"}, "factor": 1.0}, {"slug": "days-to-hours", "name": "Days to Hours", "category": "time", "type": "standard", "labels": {"in1": "Days", "in2": "Hours"}, "factor": 24.0}, {"slug": "days-to-weeks", "name": "Days to Weeks", "category": "time", "type": "standard", "labels": {"in1": "Days", "in2": "Weeks"}, "factor": 0.142857143}, {"slug": "days-to-years", "name": "Days to Years", "category": "time", "type": "standard", "labels": {"in1": "Days", "in2": "Years"}, "factor": 0.002737851}, + {"slug": "months-to-days", "name": "Months to Days", "category": "time", "type": "standard", "teaser": "Convert months into days using the average year length.", "labels": {"in1": "Months", "in2": "Days"}, "factor": 30.436875}, + {"slug": "months-to-weeks", "name": "Months to Weeks", "category": "time", "type": "standard", "teaser": "Express an average month as weeks.", "labels": {"in1": "Months", "in2": "Weeks"}, "factor": 4.348125}, + {"slug": "months-to-years", "name": "Months to Years", "category": "time", "type": "standard", "teaser": "Show how months stack into years.", "labels": {"in1": "Months", "in2": "Years"}, "factor": 0.08333333333333333}, {"slug": "atomic-time-units-to-seconds", "name": "Atomic Time Units to Seconds", "category": "time", "type": "standard", "teaser": "Turn an atomic unit of time into seconds for quantum timing.", "labels": {"in1": "Atomic Time Units", "in2": "Seconds"}, "factor": 2.418884326505e-17}, {"slug": "degrees-to-mils", "name": "Degrees to Mils", "category": "angle", "type": "standard", "labels": {"in1": "Degrees", "in2": "Mils"}, "factor": 17.777777778}, {"slug": "mils-to-degrees", "name": "Mils to Degrees", "category": "angle", "type": "standard", "teaser": "Convert mils (1/6400 circle) back into degrees.", "labels": {"in1": "Mils", "in2": "Degrees"}, "factor": 0.05625, "hidden": true}, @@ -327,7 +331,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "yoctograms-to-zeptograms", "name": "Yoctograms to zeptograms", "category": "weight", "type": "standard", "labels": {"in1": "Yoctograms", "in2": "zeptograms"}, "factor": 0.001, "hidden": true}, {"slug": "yards-to-meters", "name": "Yards to meters", "category": "length", "type": "standard", "labels": {"in1": "Yards", "in2": "meters"}, "factor": 0.9144, "hidden": true}, {"slug": "yards-per-second-to-meters-per-second", "name": "Yards per second to meters per second", "category": "length", "type": "standard", "labels": {"in1": "Yards per second", "in2": "meters per second"}, "factor": 0.9144, "hidden": true}, - {"slug": "weeks-to-months", "name": "Weeks to months", "category": "time", "type": "standard", "labels": {"in1": "Weeks", "in2": "months"}, "factor": 0.230137}, + {"slug": "weeks-to-months", "name": "Weeks to months", "category": "time", "type": "standard", "labels": {"in1": "Weeks", "in2": "months"}, "factor": 0.230137, "hidden": true}, {"slug": "watts-to-horsepower", "name": "Watts to horsepower", "category": "power", "type": "standard", "labels": {"in1": "Watts", "in2": "horsepower"}, "factor": 0.001341, "hidden": true}, {"slug": "watts-to-btuhour", "name": "Watts to BTU/hour", "category": "energy", "type": "standard", "labels": {"in1": "Watts", "in2": "BTU/hour"}, "factor": 3.41214}, {"slug": "troy-ounces-to-grams", "name": "Troy ounces to grams", "category": "weight", "type": "standard", "labels": {"in1": "Troy ounces", "in2": "grams"}, "factor": 31.1034}, @@ -635,6 +639,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "light-years-to-miles", "name": "Light Years to Miles", "category": "length", "type": "standard", "teaser": "Convert light years to miles.", "labels": {"in1": "Light Years", "in2": "Miles"}, "factor": 5878625373180.8}, {"slug": "liters-to-imperial-gallons", "name": "Liters to Imperial gallons", "category": "volume", "type": "standard", "teaser": "Convert liters to imperial gallons.", "labels": {"in1": "Liters", "in2": "Imperial gallons"}, "factor": 0.219969158, "hidden": true}, {"slug": "liters-to-milliliters", "name": "Liters to Milliliters", "category": "volume", "type": "standard", "teaser": "Convert liters to milliliters.", "labels": {"in1": "Liters", "in2": "Milliliters"}, "factor": 1000.0}, + {"slug": "liters-to-pecks", "name": "Liters to Pecks", "category": "volume", "type": "standard", "teaser": "Convert liters into US dry pecks for bulk goods.", "labels": {"in1": "Liters", "in2": "Pecks"}, "factor": 0.1099846, "hidden": true}, {"slug": "liters-to-acre-feet", "name": "Liters to Acre-feet", "category": "length", "type": "standard", "teaser": "Convert liters to acre-feet.", "labels": {"in1": "Liters", "in2": "Acre-feet"}, "factor": 8.107e-07, "hidden": true}, {"slug": "liters-to-barrel-us-oil", "name": "Liters to Barrel (US oil)", "category": "volume", "type": "standard", "teaser": "Convert liters to US oil barrels.", "labels": {"in1": "Liters", "in2": "Barrel (US oil)"}, "factor": 0.00628981077}, {"slug": "liters-to-bushels", "name": "Liters to Bushels", "category": "volume", "type": "standard", "teaser": "Convert liters to US dry bushels.", "labels": {"in1": "Liters", "in2": "Bushels"}, "factor": 0.0284130625},