Commit c733080a authored by Reinhold Kainhofer's avatar Reinhold Kainhofer

V1.3.5: Added variables [MonthName], [MonthName3], [Week], [WeekNumberYear],...

V1.3.5: Added variables [MonthName], [MonthName3], [Week], [WeekNumberYear], [DayOfYear], [Weekday], [WeekdayName], [WeekdayName3] (advanced version only)
parent 4ec5e8d2
BASE=ordernumbers
PLATTFORM=woocommerce
VENDOR=opentools
VERSION=1.3.4
VERSION=1.3.5
DIR = $(shell pwd)
SVNDIR=wordpress-plugin-svn
......
......@@ -239,7 +239,15 @@ class OrdernumberHelper {
$reps["[year]"] = $time->format ("Y");
$reps["[year2]"] = $time->format ("y");
$reps["[month]"] = $time->format("m");
$reps["[monthname]"] = $time->format("F");
$reps["[monthname3]"] = $time->format("M");
$reps["[week]"] = $time->format("W");
$reps["[weeknumberyear]"] = $time->format("o");
$reps["[day]"] = $time->format("d");
$reps["[dayofyear]"] = $time->format("z")+1;
$reps["[weekday]"] = $time->format("N");
$reps["[weekdayname3]"] = $time->format("D");
$reps["[weekdayname]"] = $time->format("l");
$reps["[hour]"] = $time->format("H");
$reps["[hour12]"] = $time->format("h");
$reps["[ampm]"] = $time->format("a");
......
......@@ -4,7 +4,7 @@ Contributors: opentools
Tags: WooCommerce, Order numbers, orders
Requires at least: 4.0
Tested up to: 4.5
Stable tag: 1.3.4
Stable tag: 1.3.5
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl.html
......@@ -78,6 +78,9 @@ The Advanced Ordernumbers for WooCommerce plugin supports some invoicing plugins
== Changelog ==
= 1.3.5 =
* Added variables [MonthName], [MonthName3], [Week], [WeekNumberYear], [DayOfYear], [Weekday], [WeekdayName], [WeekdayName3] (advanced version only)
= 1.3.4 =
* Fix all time variables to use the timezone configured for WordPress
......
......@@ -3,7 +3,7 @@
* Plugin Name: Woocommerce Advanced Ordernumbers
* Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html
* Description: Lets the user freely configure the order numbers in WooCommerce.
* Version: 1.3.4
* Version: 1.3.5
* Author: Open Tools
* Author URI: http://open-tools.net
* Text Domain: woocommerce-advanced-ordernumbers
......
......@@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Basic Ordernumbers
* Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html
* Description: Configure WooCommerce ordernumbers to have a running counter and arbitrary, fixed text (prefix / postfix).
* Version: 1.3.4
* Version: 1.3.5
* Author: Open Tools
* Author URI: http://open-tools.net
* Text Domain: woocommerce-advanced-ordernumbers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment