mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-10-31 02:04:53 +00:00 
			
		
		
		
	Fixed issue in month determination
This commit is contained in:
		| @@ -411,7 +411,7 @@ ComunicWeb.components.posts.form = { | |||||||
| 				//Convert the end time to a timestamp | 				//Convert the end time to a timestamp | ||||||
| 				var end_date = new Date(); | 				var end_date = new Date(); | ||||||
| 				end_date.setDate(end_date_array[0]); | 				end_date.setDate(end_date_array[0]); | ||||||
| 				end_date.setMonth(end_date_array[1]); | 				end_date.setMonth(end_date_array[1] - 1); //January => 0 / December => 11 | ||||||
| 				end_date.setFullYear(end_date_array[2]); | 				end_date.setFullYear(end_date_array[2]); | ||||||
| 				var time_end = Math.floor(end_date.getTime()/1000); | 				var time_end = Math.floor(end_date.getTime()/1000); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Pierre
					Pierre