@baris said in how to get only current day/week posts of a specific category?:
/api/top?cid=5&term=daily
perfect! thanks!
I have this error on console, no error on server side ( ./nodebb dev
)
GET http://forum.sanatisharif.ir/vendor/jquery/timeago/locales/jquery.timeago.fa-short.js?_=1450351427053 404 (Not Found)
send
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:3w.extend.ajax
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:3w.(anonymous function)
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:3w.extend.getScript
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:3(anonymous function)
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:13u
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:1f.fireWith
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:1C
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:3i
@ nodebb.min.js?ea794878-5bef-4880-b791-a9592617ede7:3
It's fine, no short-hand exists for persian.
@julian Thanks, I'm add this file to our forum manually and send a 'pull request' :
https://github.com/rmm5t/jquery-timeago/pull/261
Merged into latest, thanks!
https://github.com/NodeBB/NodeBB/commit/04879e6da2f50f6b5ef85ce3cea1c69b932bcc44