Skip to content
Snippets Groups Projects
Commit c733080a authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

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
Branches
Tags V1.3.5
No related merge requests found
BASE=ordernumbers BASE=ordernumbers
PLATTFORM=woocommerce PLATTFORM=woocommerce
VENDOR=opentools VENDOR=opentools
VERSION=1.3.4 VERSION=1.3.5
DIR = $(shell pwd) DIR = $(shell pwd)
SVNDIR=wordpress-plugin-svn SVNDIR=wordpress-plugin-svn
......
...@@ -239,7 +239,15 @@ class OrdernumberHelper { ...@@ -239,7 +239,15 @@ class OrdernumberHelper {
$reps["[year]"] = $time->format ("Y"); $reps["[year]"] = $time->format ("Y");
$reps["[year2]"] = $time->format ("y"); $reps["[year2]"] = $time->format ("y");
$reps["[month]"] = $time->format("m"); $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["[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["[hour]"] = $time->format("H");
$reps["[hour12]"] = $time->format("h"); $reps["[hour12]"] = $time->format("h");
$reps["[ampm]"] = $time->format("a"); $reps["[ampm]"] = $time->format("a");
......
...@@ -4,7 +4,7 @@ Contributors: opentools ...@@ -4,7 +4,7 @@ Contributors: opentools
Tags: WooCommerce, Order numbers, orders Tags: WooCommerce, Order numbers, orders
Requires at least: 4.0 Requires at least: 4.0
Tested up to: 4.5 Tested up to: 4.5
Stable tag: 1.3.4 Stable tag: 1.3.5
License: GPLv3 or later License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl.html License URI: http://www.gnu.org/licenses/gpl.html
...@@ -78,6 +78,9 @@ The Advanced Ordernumbers for WooCommerce plugin supports some invoicing plugins ...@@ -78,6 +78,9 @@ The Advanced Ordernumbers for WooCommerce plugin supports some invoicing plugins
== Changelog == == Changelog ==
= 1.3.5 =
* Added variables [MonthName], [MonthName3], [Week], [WeekNumberYear], [DayOfYear], [Weekday], [WeekdayName], [WeekdayName3] (advanced version only)
= 1.3.4 = = 1.3.4 =
* Fix all time variables to use the timezone configured for WordPress * Fix all time variables to use the timezone configured for WordPress
......
File added
File added
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Plugin Name: Woocommerce Advanced Ordernumbers * Plugin Name: Woocommerce Advanced Ordernumbers
* Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html * Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html
* Description: Lets the user freely configure the order numbers in WooCommerce. * Description: Lets the user freely configure the order numbers in WooCommerce.
* Version: 1.3.4 * Version: 1.3.5
* Author: Open Tools * Author: Open Tools
* Author URI: http://open-tools.net * Author URI: http://open-tools.net
* Text Domain: woocommerce-advanced-ordernumbers * Text Domain: woocommerce-advanced-ordernumbers
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Basic Ordernumbers * Plugin Name: WooCommerce Basic Ordernumbers
* Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html * 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). * 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: Open Tools
* Author URI: http://open-tools.net * Author URI: http://open-tools.net
* Text Domain: woocommerce-advanced-ordernumbers * Text Domain: woocommerce-advanced-ordernumbers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment