Transform certain option fields before rendering
Opened this issue · 0 comments
jackHedaya commented
Certain fields (like expirationDate
) are stored as in non user-friendly formats. A transformation should be done before rendering. Question is whether it should be done on front end or backend.
Pros of Front over Back
- Data is not affected and can be manipulated via expressions
- Easier documentation coming from TD Ameritrade
Cons
- Less intuitive expressions. For example, comparing data as a Unix time stamp is weird
- More site bloat as a new dependency is likely going to be needed for Dates