Repository navigation
Releases
Releases · ressurectit/ng-datetime
v10.1.0
Bug Fixes
- fixed
DateTimeFormControldirective- now correctly sets
nullvalue when form control value isundefined, preventing Angular error which does not supportundefinedvalue
- now correctly sets
Features
- updated
DateTimePickerDirectiveOptionsinterface- new properties
renderIntoClosestcss selector of the closest ancestor of the date time input into which the picker should be rendered, working only withabsoluteset totrue
- new properties
v10.0.0
Features
- new
DateTimeFormControldirective, that provides form value control for DateTime- implements
FormValueControlOnDestroy
- implements
BREAKING CHANGES
- minimal supported version of
Nodeis^22.22.3 || ^24.15.0 || >=26.0.0 - minimal supported version of
@angularis22.0.4 - minimal supported version of
@anglr/commonis24.2.0 - minimal supported version of
@jscrpt/commonis7.1.1 - minimal supported version of
rxjsis7.8.2 - new dependency
lodash-esminimal supported version is4.18.1 - removed dependency on
@angular/animations
v9.0.3
v9.0.2
v9.0.1
v9.0.0
Bug Fixes
- fixed
DateConvertPipepipe- fixed typings, now correctly accepts also
undefinedandnull - works as pre date-fns 4, which returns
nullvalue fornullorundefinedinput value
- fixed typings, now correctly accepts also
- fixed
DateFormatPipepipe- fixed typings, now correctly accepts also
undefinedandnull - works as pre date-fns 4, which returns empty string value for
nullorundefinedinput value
- fixed typings, now correctly accepts also
Features
- new
IsAfterPipepipe, that tests whether is provided date after tested date - new
IsBeforePipepipe, that tests whether is provided date before tested date - updated
DateApiObjectinterface- new methods
timestampgets value of date time as timestamp (in miliseconds)
- new methods
- updated
DateApiinterfaceweekdaysShortmethod is now deprecated- new
weekdaysmethod, which gets array of weekday names, order of days is dependent on locale
- updated
DateTimeControlValueAccessorDirectivedirective- now it can return also value as
DateTimeValueFormat.UnixTimestamp
- now it can return also value as
- updated
DateFormatPipepipe- is now
standalone
- is now
- updated
DateConvertPipepipe- is now
standalone
- is now
- updated
MonthCalendarComponentcomponent- is now
standalone
- is now
- updated
CalendarDayTemplateDirectivedirective- is now
standalone
- is now
- updated
DateTimePickerComponentdirective- is now
standalone
- is now
- subpackage
@anglr/datetime/moment- updated
MomentDateApi- now implements also new
timestamp
- now implements also new
- updated
MomentDateApi- now implements new
weekdays
- now implements new
- updated
- subpackage
@anglr/datetime/date-fns- updated
DateFnsDateApi- now implements also new
timestamp
- now implements also new
- updated
DateFnsDateApi- now implements new
weekdays
- now implements new
- updated
BREAKING CHANGES
- minimal supported version of
@angularis19.1.0 - minimal supported version of
@jscrpt/commonis7.0.0 - minimal supported version of
@anglr/commonis22.0.0 - minimal supported version of
date-fnsis4.1.0 - minimal supported version of
momentis2.30.1 - minimal supported version of
tslibis2.8.1 - updated all comments, fixed unix timestamp for timestamp
- updated
DateTimeValueFormatenumUnixTimestampnow returns value in seconds, useTimestampto get value in miliseconds
- renamed
ButtonDateTimeInputSADirectivetoButtonDateTimeInputDirective - renamed
DatePickerInputSADirectivetoDatePickerInputDirective - renamed
DateTimeInputHandlerSADirectivetoDateTimeInputHandlerDirective - renamed
DateTimePickerInputSADirectivetoDateTimePickerInputDirective - renamed
SimpleDatePickerInputSADirectivetoSimpleDatePickerInputDirective - renamed
SimpleDateTimeInputHandlerSADirectivetoSimpleDateTimeInputHandlerDirective - renamed
SimpleDateTimePickerInputSADirectivetoSimpleDateTimePickerInputDirective - renamed
WithNowSADirectivetoWithNowDirective - renamed
WithTimeSADirectivetoWithTimeDirective - renamed
WithTodaySADirectivetoWithTodayDirective - renamed
DateTimeSADirectivetoDateTimeDirective - renamed
DateTimeControlValueAccessorSADirectivetoDateTimeControlValueAccessorDirective - renamed
DateTimeInputSADirectivetoDateTimeInputDirective - renamed
DateTimeMaxValidatorSADirectivetoDateTimeMaxValidatorDirective - renamed
DateTimeValidatorSADirectivetoDateTimeValidatorDirective - renamed
DayPickerSAComponenttoDayPickerComponent - renamed
MonthPickerSAComponenttoMonthPickerComponent - renamed
RollerTimePickerSAComponenttoRollerTimePickerComponent - renamed
YearPickerSAComponenttoYearPickerComponent - renamed
DateTimePickerSADirectivetoDateTimePickerDirective - renamed
LoopScrollDataSADirectivetoLoopScrollDataDirective - renamed
LoopScrollSADirectivetoLoopScrollDirective
v8.1.0
Bug Fixes
- fixed
DateTimeSADirectivedirective, now handles initial set of value fromControlValueAccessorafter initialization of this directive, which now correctly applies min/max restrictions
Features
- updated
DateTimeInputValueinterface- new properties
valueSetoccurs when value is set, occurs everytime when value was set, even from code
- new properties
- updated
DateTimeBaseclass- now correctly implements updated
DateTimeInputValueinterface
- now correctly implements updated
- updated
DateTimePickerComponentcomponent- now correctly implements updated
DateTimeInputValueinterface - now correctly calls
valueSetanytime value changes
- now correctly implements updated
- updated
ButtonDateTimeInputSADirectivedirective- now correctly calls
valueSetanytime value changes
- now correctly calls
- updated
DateTimeInputSADirectivedirective- now correctly calls
valueSetanytime value changes
- now correctly calls