@anglr/datetime
Advanced tools
Changelog
Version 4.0.0 (2022-10-14)
DateValueProvider
service, now correctly returns start of day for format with dayDateApiObjectCtor
interface, that is definition of type, that is used for creating instance of DateApiObjectDATE_API_OBJECT_TYPE
injection token used for injecting type that creates instance of DateApiObjectDateApi
interface
TDateApiObject
which allows to get specific DateApiObject
implementation@anglr/datetime/moment
MomentDateApi
DateApiObject
using DATE_API_OBJECT_TYPE
momentDateApiObjectType
type that represents creation of DateApiObject for momentMOMENT_DATE_API_OBJECT_TYPE
injection token used for injecting type that creates instance of DateApiObject for momentMomentDateApiObject
made part of public API@anglr/datetime/date-fns
DateFnsDateApi
DateApiObject
using DATE_API_OBJECT_TYPE
dateFnsDateApiObjectType
type that represents creation of DateApiObject for date-fnsDATE_FNS_DATE_API_OBJECT_TYPE
injection token used for injecting type that creates instance of DateApiObject for date-fnsDateFnsDateApiObject
made part of public APIDateConvertPipe
now returns DateApiObject<TDate>
instead of TDate
DateFnsDateApi
constructor has new parameter DATE_API_OBJECT_TYPE
DATEFNS_FORMAT_PROVIDER
to DATE_FNS_FORMAT_PROVIDER