阅读背景:

PHP / Kohana - 将时间转换为不同的格式

来源:互联网 

In my kohana app, I need to convert the time retrieved from the database into a format like 45 seconds ago, 1 minute ago, etc. What is the best place to do it? Can I override any methods in the Model so that the method automatically converts the time into the desired format before returning into the controller?In my kohana app, I need to convert the time re




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: