{"ScriptPreparationCode":null,"TestCases":[{"Name":"array split","Code":"const time = \u002708:30:00\u0027\r\nconst processed = time.split(\u0027:\u0027).slice(0, -1).join(\u0027:\u0027)\r\nconsole.log(\u0027split: \u0027, processed)\r\n","IsDeferred":false},{"Name":"luxon","Code":"const time = \u002708:30:00\u0027\r\nconst processed = luxon.DateTime.fromFormat(time, \u0027hh:mm:ss\u0027).toFormat(\u0027hh:mm\u0027)\r\nconsole.log(\u0027luxon: \u0027, processed)","IsDeferred":false},{"Name":"string replace","Code":"const time = \u002708:30:00\u0027\r\nconst processed = time.replace(/:00$/, \u0027\u0027)\r\nconsole.log(\u0027replace: \u0027, processed)","IsDeferred":false}]}