@@ -9,7 +9,7 @@
 | 
			
		||||
 * @returns {string | null}
 | 
			
		||||
 */
 | 
			
		||||
export function parseTime(time, cFormat) {
 | 
			
		||||
  if (arguments.length === 0) {
 | 
			
		||||
  if (arguments.length === 0 || !time) {
 | 
			
		||||
    return null
 | 
			
		||||
  }
 | 
			
		||||
  const format = cFormat || '{y}-{m}-{d} {h}:{i}:{s}'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user