forked from EVOgeek/Vmeda.Online
		
	Merge pull request #3394 from alfonso-salces/MOBILE-4131
MOBILE-4131 time: Return ISO string in toDatetimeFormat function
This commit is contained in:
		
						commit
						7b1294dd86
					
				@ -255,9 +255,7 @@ export class CoreTimeUtilsProvider {
 | 
				
			|||||||
     * @return Formatted time.
 | 
					     * @return Formatted time.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    toDatetimeFormat(timestamp?: number): string {
 | 
					    toDatetimeFormat(timestamp?: number): string {
 | 
				
			||||||
        timestamp = timestamp || Date.now();
 | 
					        return moment(timestamp || Date.now()).toISOString();
 | 
				
			||||||
 | 
					 | 
				
			||||||
        return this.userDate(timestamp, 'YYYY-MM-DDTHH:mm:ss.SSS', false) + 'Z';
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user