Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

jTimestampToLocal

将指定位置的时间戳转换本地时间并替换到标签内


关于:

版本:
  • since : 1.0.1 添加部分简单的格式化输出内容,暂时有 %Y %m %d %H %M %S
  • since : 1.0

用法:

$('selector').jTimestampToLocal(param)

param : json

{
pos : '', 时间戳保存位置,'inner'为标签内,其它则为标签的对应属性
format: '' 格式化输出,默认 '%Y/%m/%d %H:%M:%S'
}

About

Translate timestamp to local time in a tag

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors