An overeager patch replaced time() with $_SERVER['REQUEST_TIME']. I have replaced that mistake with a call into the timer() API which was made exactly for this use case.

CommentFileSizeAuthor
#1 mw.patch892 bytesmoshe weitzman
mw.patch890 bytesmoshe weitzman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

moshe weitzman’s picture

FileSize
892 bytes

Just remembered about format_interval(). Now with even more Drupal.

Damien Tournoud’s picture

Status: Needs review » Reviewed & tested by the community
Test run duration: 1 min 17 sec

Works perfectly. Thanks Moshe.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Looks good. I asked about the \n that got removed but DamZ and moshe said it was ok.

Committed. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.