Bugfix for data parser and data formatter

This commit is contained in:
Jeremy Rangel
2025-01-26 17:26:55 -08:00
parent c9dedf6c8d
commit 3fe81a23ff
6 changed files with 173 additions and 29 deletions

View File

@ -48,22 +48,22 @@
{
"Department": "Sheriffs Office",
"Budget": "150",
"MeetAt": "12/12/2025",
"PreferredColor": "#e0e0e0",
"MeetAt": "2025-01-26T14:30:00Z",
"preferredColor": "red",
"PostContent": "<div> </div>"
},
{
"Department": "Assessor",
"Budget": "100",
"MeetAt": "12/12/2025",
"PreferredColor": "#e0e0e0",
"MeetAt": "2025-01-26T14:30:00Z",
"preferredColor": "#232323",
"PostContent": "<div> </div>"
},
{
"Department": "Treasurer",
"Budget": "50",
"MeetAt": "12/12/2025",
"PreferredColor": "#e0e0e0",
"MeetAt": "2025-01-26T14:30:00Z",
"preferredColor": "#E72323",
"PostContent": "<div> </div>"
}
]
@ -74,21 +74,21 @@
{
"State": "California",
"Coordinates": "150,000",
"MeetAt": "12/12/2025",
"MeetAt": "2025-01-26T14:30:00Z",
"PreferredColor": "#e0e0e0",
"PostContent": "<div> </div>"
},
{
"State": "Texas",
"Coordinates": "100,000",
"MeetAt": "12/12/2025",
"MeetAt": "2025-01-26T14:30:00Z",
"PreferredColor": "#e0e0e0",
"PostContent": "<div> </div>"
},
{
"State": "Florida",
"Coordinates": "50,000",
"MeetAt": "12/12/2025",
"MeetAt": "2025-01-26T14:30:00Z",
"PreferredColor": "#e0e0e0",
"PostContent": "<div> </div>"
}

View File

@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '0c512545db897b1c5c5e');
<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '5afb8b4f337b11cc4837');

File diff suppressed because one or more lines are too long

View File

@ -46,17 +46,17 @@
"default": [{
"name": "Data",
"data": [
{ "Department": "Sheriffs Office", "Budget": "150", "MeetAt": "12/12/2025", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" },
{ "Department": "Assessor", "Budget": "100", "MeetAt": "12/12/2025", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" },
{ "Department": "Treasurer", "Budget": "50", "MeetAt": "12/12/2025", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" }
{ "Department": "Sheriffs Office", "Budget": "150", "MeetAt": "2025-01-26T14:30:00Z", "preferredColor": "red", "PostContent": "<div> </div>" },
{ "Department": "Assessor", "Budget": "100", "MeetAt": "2025-01-26T14:30:00Z", "preferredColor": "#232323", "PostContent": "<div> </div>" },
{ "Department": "Treasurer", "Budget": "50", "MeetAt": "2025-01-26T14:30:00Z", "preferredColor": "#E72323", "PostContent": "<div> </div>" }
]
},
{
"name": "Locations",
"data": [
{ "State": "California", "Coordinates": "150,000", "MeetAt": "12/12/2025", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" },
{ "State": "Texas", "Coordinates": "100,000", "MeetAt": "12/12/2025", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" },
{ "State": "Florida", "Coordinates": "50,000", "MeetAt": "12/12/2025", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" }
{ "State": "California", "Coordinates": "150,000", "MeetAt": "2025-01-26T14:30:00Z", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" },
{ "State": "Texas", "Coordinates": "100,000", "MeetAt": "2025-01-26T14:30:00Z", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" },
{ "State": "Florida", "Coordinates": "50,000", "MeetAt": "2025-01-26T14:30:00Z", "PreferredColor": "#e0e0e0", "PostContent": "<div> </div>" }
]
},
{