Greasy Fork

Greasy Fork is available in English.

FB: Full Timestamps 2019

Shows full timestamps on Facebook posts

当前为 2019-02-25 提交的版本,查看 最新版本

作者
JZersche
评分
0 0 0
版本
3.07
创建于
2018-08-13
更新于
2019-02-25
大小
4.2 KB
许可证
暂无
适用于

Show exact timestamps and other information on Facebook posts.

Available option for times are:

'M/DD/Y \\at LTS' ─ 9/01/2018 at 11:57:55 PM
'l \\at LTS' ─ 9/1/2018 at 7:39:45 AM
'L \\at LTS' ─ 09/07/2018 at 7:39:45 AM

'LT' ─ 8:30 PM
'LTS' ─ 8:30:25 PM
'L' ─ 09/01/2018
'l' ─ 9/1/2018
'LL' ─ September 1, 2018
'll' ─ Sep 1, 2018
'LLL' ─ September 1, 2018 8:30 PM
'lll' ─ Sep 1, 2018 8:30 PM
'LLLL' ─ Thursday, September 1, 2018 8:30 PM
'llll' ─ Thu, Sep 4, 2018 8:30 PM


..and you would insert that on line 53.
+ 'on ' + moment(new Date(abbr.dataset.utime * 1000)).format('l \\at LTS')


Edit the script according to as shown below or it will not work since the script uses an unapproved Javascript library for displaying the times, you'll need to remove the space between
// @ require for moment.js
in the code.



// @require http://momentjs.com/downloads/moment.min.js
// @require https://momentjs.com/downloads/moment-with-locales.min.js