FLUID-5971: Add binder transformation functions to model transformation API....

Metadata

Source
FLUID-5971
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Tony Atkins [RtF]
Created
2016-09-27T05:54:37.646-0400
Updated
2024-07-22T09:21:27.944-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Model Transformation System

Description

In reviewing my proposed date-handling transformation functions in gpii-binder, @@Antranig Basman asked me to submit this against Fluid's Model Transformation API instead.

There are two functions, one for string -> date, the other for date -> string. Both use RFC 3339 conventions, which builds on ISO 8601 and is used with both the HTML5 date field and JSON Schema.

Comments

  • Tony Atkins [RtF] commented 2016-09-27T05:55:50.896-0400

    @@Antranig Basman, is there a particular branch I should start with?

  • Tony Atkins [RtF] commented 2016-09-27T08:00:12.858-0400

    Also, do you want me to pull up any of the rest of the functions here?

    https://github.com/the-t-in-rtf/gpii-binder/blob/GPII-1886/src/js/codingTransforms.js

  • Tony Atkins [RtF] commented 2016-10-05T09:07:09.346-0400

    In discussions with Antranig on the previous PR, we agreed that I would migrate the existing functions out of gpii-binder into infusion.

  • Tony Atkins [RtF] commented 2016-10-10T07:33:45.700-0400

    https://github.com/fluid-project/infusion/pull/761

  • Antranig Basman commented 2017-10-12T19:28:11.049-0400

    Was merged into trunk on 27 Jan 2017