omit seconds from timestamp, new build
Этот коммит содержится в:
		
							родитель
							
								
									e3bbe9e24b
								
							
						
					
					
						Коммит
						b6a185870e
					
				
										
											
												Различия файлов скрыты, потому что одна или несколько строк слишком длинны
											
										
									
								
							
										
											
												Различия файлов скрыты, потому что одна или несколько строк слишком длинны
											
										
									
								
							| @ -1,4 +1,5 @@ | ||||
| export const data = 'https://raw.githubusercontent.com/DFRLab/interference2020-Data/master/DFRLab_interference2020.csv'; | ||||
| // export const data = '/data/DFRLab_interference2020.csv';
 | ||||
| export const spotData = 'https://raw.githubusercontent.com/DFRLab/interference2020-Data/master/meta/timeline_dates.csv'; | ||||
| export const coronaData = 'https://raw.githubusercontent.com/nytimes/covid-19-data/master/us.csv'; | ||||
| export const images = 'https://raw.githubusercontent.com/DFRLab/interference2020-Data/master/images/'; | ||||
|  | ||||
| @ -2,7 +2,7 @@ import { csv, timeParse } from 'd3'; | ||||
| import { splitString, cleanCountries } from './misc'; | ||||
| import { data as dataPath } from '../inputs/dataPaths'; | ||||
| 
 | ||||
| const parseTimestamp = timeParse('%m/%d/%Y %H:%M:%S %Z'); | ||||
| const parseTimestamp = timeParse('%m/%d/%Y %H:%M %Z'); | ||||
| const parseDate = timeParse('%m/%d/%Y'); | ||||
| 
 | ||||
| const loadData = async () => { | ||||
|  | ||||
| @ -6,7 +6,6 @@ const loadGoogleTrendsData = async (keyword) => { | ||||
|     ...d, | ||||
|     date: new Date(d.time * 1000) | ||||
|   })); | ||||
| console.log(data) | ||||
|   return(data.filter((d) => !d.isPartial)); | ||||
| }; | ||||
| 
 | ||||
|  | ||||
		Загрузка…
	
	
			
			x
			
			
		
	
		Ссылка в новой задаче
	
	Block a user
	 higsch
						higsch