Skip to content

3.5.1

Latest

Choose a tag to compare

@zcohan zcohan released this 23 Aug 12:13

Improvements

Units

  • A cast function forces one unit to be another, rather than converting it — 5 km cast to miles5 mi, where 5 km in miles still gives 3.1 mi
  • Smarter behaviour when dividing a rate by a quantity — $500/month / 30 days$16.67/day
  • Angles in hours, minutes and seconds — 12h 30m in degrees187.5°, and 90 degrees in hours6h 0m 0s

Inflation

  • Inflation is now calculated in an amount's own currency (rather than always USD)
  • The engine can be supplied with month-by-month index figures through a new InflationDataProvider

Time Zones

  • time in X when it is Y in Ztime in Tokyo when it is 9am in London5:00 pm
  • Monday 9am Delhi in nyc11:30 pm

Other

  • Moon phase is now computed locally, so it needs no network access — moon phaseWaxing Gibbous
  • Hanukkah is supported as a cultural date event — Hanukkah 20264 December