inherit
97216
0
Nov 23, 2024 12:51:52 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 29, 2013 19:03:43 GMT -8
I'm trying to high-jack these abbrs to show live information as well for a plugin of sorts for my forum. What kind of timestamps are used? I've tried UNIX epoch time, but the timestamps you're using are gigantic compared to those.
So, in short, what would I need to do emulate the timestamps?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Sept 30, 2013 7:17:16 GMT -8
|
|
inherit
97216
0
Nov 23, 2024 12:51:52 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 30, 2013 10:57:16 GMT -8
|
|
inherit
97216
0
Nov 23, 2024 12:51:52 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 30, 2013 15:41:04 GMT -8
Okay, so I converted my unix timestamp to microtime(), but for whatever reason, that still isn't working for the <abbr>. What is necessary for it to parse correctly? Or morseo, to make it do relative amounts of time instead of arbitrary dates.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Sept 30, 2013 15:57:44 GMT -8
Without seeing an example I can't tell for sure, but make sure you format them in the same way as they're formatted here on suppport, e.g.,
<abbr data-timestamp="1380510223000" class="time"></abbr> Our JS should pick that up automatically.
|
|
inherit
97216
0
Nov 23, 2024 12:51:52 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Sept 30, 2013 17:30:51 GMT -8
Without seeing an example I can't tell for sure, but make sure you format them in the same way as they're formatted here on suppport, e.g., <abbr data-timestamp="1380510223000" class="time"></abbr> Our JS should pick that up automatically. Oh man, I just hadn't saved and updated my script yet.. -facepalm- It's working fine now. Thanks Tim Camara.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Oct 1, 2013 7:46:46 GMT -8
No problem.
|
|