Project

General

Profile

Actions

Feature #63561

closed

Add stdWrap strtotime

Added by Mathias Brodala over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
Start date:
2014-12-04
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

To complement the existing date and strftime which allow converting timestamps to a formatted date the counterpart strtotime should be added to stdWrap. This allows for processing like this:

next_weekday = TEXT
next_weekday {
  data = GP:selected_date
  strtotime = + 2 weekdays
  strftime = %Y-%m-%d
}

For GP:selected_date having a value 2014-12-04 this would output 2014-12-08.

Actions

Also available in: Atom PDF