Update 'mbchc-local.user.js'
locales are bullshit
This commit is contained in:
		| @@ -623,8 +623,8 @@ | ||||
|             window.DrawRect(CharX + 175 * Zoom, CharY, 50 * Zoom, 50 * Zoom, colour) | ||||
|         } | ||||
|         if ((window.ChatRoomHideIconState < 1) && C.MBCHC_LOCAL && C.MBCHC_LOCAL.TZ) { | ||||
|             let localtime = new Date(window.CommonTime() + window.MBCHC.UTC_OFFSET + C.MBCHC_LOCAL.TZ * 60 * 60 * 1000) | ||||
|             let text = localtime.toLocaleTimeString([], {hourCycle: "h24", hour: "2-digit"}) | ||||
|             let hours = new Date(window.CommonTime() + window.MBCHC.UTC_OFFSET + C.MBCHC_LOCAL.TZ * 60 * 60 * 1000).getHours() | ||||
|             let text = (hours < 10) ? "0" + hours.toString() : hours.toString() | ||||
|             window.DrawTextFit(text, CharX + 200 * Zoom, CharY + 25 * Zoom, 46 * Zoom, "white", "black") | ||||
|         } | ||||
|         return(next(nextargs)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user