style: listviews closer to SIP-34 (#10094)

This commit is contained in:
ʈᵃᵢ
2020-06-23 14:17:28 -07:00
committed by GitHub
parent 4d1d40989c
commit be936c2eb8
17 changed files with 687 additions and 417 deletions

View File

@@ -23,6 +23,10 @@ import getClientErrorObject from './getClientErrorObject';
export const NULL_STRING = '<NULL>';
// moment time format strings
export const SHORT_DATE = 'MMM D, YYYY';
export const SHORT_TIME = 'h:m a';
export function getParamFromQuery(query, param) {
const vars = query.split('&');
for (let i = 0; i < vars.length; i += 1) {