// Token: 0x0600C45F RID: 50271 RVA: 0x0036623C File Offset: 0x0036443C
        private string SetChatMsgTime(DateTime time)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetChatMsgTimeDateTime_hotfix != null)
            {
                return((string)this.m_SetChatMsgTimeDateTime_hotfix.call(new object[]
                {
                    this,
                    time
                }));
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            IConfigDataLoader     configDataLoader      = GameManager.Instance.ConfigDataLoader as IConfigDataLoader;
            ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;
            DateTime localTime = projectLPlayerContext.GetLocalTime();
            TimeSpan timeSpan  = new TimeSpan(time.Ticks);
            TimeSpan ts        = new TimeSpan(localTime.Ticks);
            TimeSpan timeSpan2 = timeSpan.Subtract(ts).Duration();
            string   result    = time.ToString(configDataLoader.UtilityGetStringByStringTable(StringTableId.StringTableId_Chat_TimeSpanLessThanAnHour));

            if (timeSpan2.Days > 1)
            {
                result = configDataLoader.UtilityGetStringByStringTable(StringTableId.StringTableId_Chat_TimeSpanMoreThanADay);
            }
            else if (timeSpan2.Hours > 1)
            {
                result = string.Format(configDataLoader.UtilityGetStringByStringTable(StringTableId.StringTableId_Chat_TimeSpanLessThanADay), timeSpan2.Hours);
            }
            return(result);
        }