@fluent/bundle 0.14 which now exposes the new API for
FluentDateTime. The final design is a result of 3 iterations and a lot of feedback from stakeholders and implementors. Thank you for your help. I hope the new API will serve well its purposes.
format is now called
formatPattern and has stricter requirements regarding its arguments. It may also throw if
errors are not passed as the third argument.
addMessages has been removed in favor of
addResource, which takes an instance of
FluentResource. The static
FluentResource.fromString() method has been removed in favor of simply using the constructor:
Please consult the
@fluent/bundle changelog for details: