Skip to content

Commit db6f920

Browse files
fix - create pin
1 parent 830b932 commit db6f920

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pages/create-pin/create-pin.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class CreatePinPage {
7878
console.log("Display time is " + this.displayTime);
7979
this.date = moment(this.selectedDay).format('l');
8080
console.log("This date is " + this.date);
81-
this.rawTime = moment().format('YYYYMMDDmmss');
81+
this.rawTime = moment(this.selectedDay).format('YYYYMMDD');
8282
console.log("Raw time is " + this.rawTime);
8383
}
8484

@@ -292,10 +292,8 @@ export class CreatePinPage {
292292

293293
buildTuesdayPin() {
294294
let time = this.selectedDay.toISOString();
295-
if (this.pinForm.content.length < 150 ) this.short = true;
296295
return Observable.create((observer) => {
297296
this.pin = {
298-
short: this.short,
299297
commentCount: 0,
300298
content: this.pinForm.content,
301299
date: this.date,

0 commit comments

Comments
 (0)