Most users probably want to manipulate time relative to the present in
their local timezone. This brings rink's functionality closer to similar
tools.
In date(1):
> date -d 'now + 1 hour'
Fri 23 Jul 09:54:02 CEST 2021
Before:
> now
2021-07-23 06:54:05.699222874 +00:00 (now)
> now + 1 hour
2021-07-23 07:54:10.940110380 +00:00 (in an hour)
After:
> now
2021-07-23 08:54:13.219044877 +02:00 (now)
> now + 1 hour
2021-07-23 09:54:15.555096329 +02:00 (in an hour)
* Start over with the web interface
* Add initial stuff
* Extract file+network IO out of rink-core
* Fix cargo warning
* Add tests for rink-web
* Add Serialize to AST types
* Refactor AST
* Split up ast module
* BinOp -> BinOpExpr
* Split out UnaryOpExpr
* Remove Deserialize bound from AST
* Clean up Serialize impl for Numeric
* Convert Expr::Const to struct variant
* Make datetime handling deterministic
* Changes to js API
* Rename rink-web to rink-js
* Add initial npm project
* Add lit-element
* Parse textbox inputs
* Make Expr::Error a variant struct
* Convert Expr::Unit to struct variant
* Don't cache when running npm start
* Convert Expr::Mul to struct variant
* Convert Expr::Date to struct variant
* Convert Expr::Quote to struct variant
* Pretty print json
* Fix warnings
* Switch to svelte
* Remove web components polyfill
* Switch to sapper
* Only load wasm once
* Result component
* Update chrono
* `Utc::now` panics on wasm builds
* Hook up eval
* Disable humanize since it panics in wasm
* SSR test page
* Factor out wasm code into new file
* Make json output better
* Improve json output
* Better json for QueryError
* Add TS definitions for QueryReply
* Render some reply types
* Add proper font
* Add PWA manifest
* Add basic favicon
* Initial styling pass
* Include AST in replies
* Expr component
* Make Numeric json repr more useful
* Indicate approximate values
* Remove duplicate information in definitions
* Split up Result into smaller components
* Search reply
* Add UnitsForReply
* Add UnitListReply
* Add SubstanceReply
* Show dates
* Add DurationReply
* Hook up basic routing
* UI polishing
* Add links to unit pages
* Quantity links
* Split ExprNode and fix whitespace issues
* Fix whitespace issues in NumberParts
* Fix Binop component
* Precedence fixes
* Fix imports
* NumberParts.svelte -> Number.svelte
* Remove App + debug prints
* Fix whitespace in parentheses
* Allow division slash for fractions
* Add home button
* Add aria info
* Improve units for page
* Add links to errors
* Remove rink-irc from workspace
So that cargo test --workspace will work.
* Run all workspace tests in CI
* Remove legacy argument