|
@@ -846,7 +846,9 @@ async function generateBillMessage(chatId) {
|
|
|
const feeDisplay = feeRate > 0 ? `-${feeAmount.toFixed(2)}(${feeRate}%)` : '';
|
|
|
const exchangeDisplay = exchangeRate !== 1 ? `÷${exchangeRate}` : '';
|
|
|
|
|
|
- message += `<code>${moment(deposit.time).format('HH:mm:ss')} ${parseFloat(deposit.amount).toFixed(2)}${feeDisplay}${exchangeDisplay} = ${uAmount.toFixed(2)}U</code>\n`;
|
|
|
+ // 转换为柬埔寨时间 (UTC+7)
|
|
|
+ const cambodiaTime = moment(deposit.time).utcOffset(7).format('HH:mm:ss');
|
|
|
+ message += `<code>${cambodiaTime} ${parseFloat(deposit.amount).toFixed(2)}${feeDisplay}${exchangeDisplay} = ${uAmount.toFixed(2)}U</code>\n`;
|
|
|
});
|
|
|
message += '\n';
|
|
|
} else {
|