There is no license information available for the latest version (1.2.0) of this package.

TimeSpanViewHelper for Fluid

1.2.0 2023-04-26 09:09 UTC


This package serves a ViewHelper for the TYPO3 templating engine Fluid.


  1. Add to your composer.json:

"require": { "smichaelsen/fluid-viewhelper-timespan": "dev-master" }

  1. Copy the file Resources/Private/Language/locallang.xlf to your TYPO3 extension (or merge the contents if you already have a locallang file) and adjust/translate the labels.

No installation in the TYPO3 extension manager needed, because it is no TYPO3 extension!

Usage example

<html data-namespace-typo3-fluid="true" xmlns:f="" xmlns:vhts="">

  User {} registered {user.crdate -> vhts:timeSpan(limitUnits:'2')}.


Output is something like:

User Sebastian registered 3 months 7 days ago.