0.1.5 • Published 12 months ago

@odata2ts/converter-luxon v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

npm (scoped)

Luxon Converters

Luxon based odata2ts compatible converters for date and time related OData types.

User facing data types:

Conversions

OData TypeResult TypeConverter IdDescription
Edm.DateTimeOffsetDateTimedateTimeOffsetToLuxonConverter
Edm.DateDateTimedateToLuxonConverterLuxon's DateTime will still have the time part, which should be ignored by user
Edm.TimeOfDayDateTimetimeOfDayToLuxonConverterLuxon's DateTime will still have the date part, which should be ignored by user
Edm.DurationDurationdurationToLuxonConverter

Installation

Note: This converter expects, that Luxon itself has been already installed, it doesn't pull Luxon automatically into your project. So if not already present, also install luxon.

npm install --save @odata2ts/converter-luxon

Documentation

Luxon-Converter Documentation

Main Documentation of odata2ts: https://odata2ts.github.io/

Support, Feedback, Contributing

This project is open to feature requests, suggestions, bug reports, usage questions etc. via GitHub issues.

Contributions and feedback are encouraged and always welcome.

See the contribution guidelines for further information.

Spirit

This project has been created and is maintained in the following spirit:

  • adhere to the OData specification as much as possible
    • support any OData service implementation which conforms to the spec
    • allow to work around faulty implementations if possible
  • stability matters
    • exercise Test Driven Development
    • bomb the place with unit tests (code coverage > 95%)
    • ensure that assumptions & understanding are correct by creating integration tests

License

MIT - see License.