File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ export const computedSegmentedLink = function(property) {
46
46
export const computedDateTimeSplit = function ( property , segmentFormat ) {
47
47
return computed ( property , {
48
48
get ( ) {
49
- if ( property === 'endsAt' && segmentFormat === 'date' ) {
50
- return moment ( this . get ( property ) ) . add ( 1 , 'days' ) . format ( getFormat ( segmentFormat ) ) ;
51
- }
49
+ // if (property === 'endsAt' && segmentFormat === 'date') {
50
+ // return moment(this.get(property)).add(1, 'days').format(getFormat(segmentFormat));
51
+ // } The following line was adding one extra day to the endsAt Attribute . Commenting it to fix the issue .
52
52
return moment ( this . get ( property ) ) . format ( getFormat ( segmentFormat ) ) ;
53
53
} ,
54
54
set ( key , value ) {
You can’t perform that action at this time.
0 commit comments