Problème dates relatives fonction human_time
-
Hi,
I’ve got a problem using that command line:
<?php echo ‘Il y a ‘ . human_time_diff(get_the_time(‘U’), current_time(‘timestamp’)) ; ?>As you can see on that page displaying all 2000 year posts, the relative dates for articles published between june and december are OK (20 years ago) but they are wrong for all articles published between january and may (21 years ago)! Why?
Thanks for your help
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problème dates relatives fonction human_time’ is closed to new replies.