File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments