fix(core): update and change scope
This commit is contained in:
		
							
								
								
									
										1
									
								
								ts/smarttime.classes.date.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								ts/smarttime.classes.date.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| import * as plugins from './smarttime.plugins'; | ||||
| @@ -74,7 +74,7 @@ export class TimeStamp { | ||||
|   } | ||||
|  | ||||
|   public isYoungerThanMilliSeconds(millisecondArg: number) { | ||||
|     const nowTimeStamp = new TimeStamp() | ||||
|     const nowTimeStamp = new TimeStamp(); | ||||
|     const compareEpochTime = nowTimeStamp.epochtime - millisecondArg; | ||||
|     const compareTimeStamp = new TimeStamp(compareEpochTime); | ||||
|     return this.isYoungerThanOtherTimeStamp(compareTimeStamp); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user