Search for formatDiff
- Search 7.x for formatDiff
- Search 9.5.x for formatDiff
- Search 8.9.x for formatDiff
- Search 10.3.x for formatDiff
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
DateFormatter::formatDiff | function | core/ |
|
DateFormatterInterface::formatDiff | function | core/ |
Formats a time interval between two timestamps. |
DateTest::providerTestFormatDiff | function | core/ |
Data provider for testFormatDiff(). |
DateTest::testFormatDiff | function | core/ |
Tests the formatDiff method. |
TimestampFormatterWithTimeDiffTest::getFormatDiffTestCases | function | core/ |
Provides test cases for unit testing Drupal.timeDiff.format(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.