1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Update version

This commit is contained in:
Hillel Coren 2017-03-12 22:14:59 +02:00
parent d03dc07d30
commit cbcc299187
3 changed files with 4 additions and 3 deletions

View File

@ -292,7 +292,7 @@ if (! defined('APP_NAME')) {
define('NINJA_APP_URL', env('NINJA_APP_URL', 'https://app.invoiceninja.com'));
define('NINJA_DOCS_URL', env('NINJA_DOCS_URL', 'http://docs.invoiceninja.com/en/latest'));
define('NINJA_DATE', '2000-01-01');
define('NINJA_VERSION', '3.1.1' . env('NINJA_VERSION_SUFFIX'));
define('NINJA_VERSION', '3.1.2' . env('NINJA_VERSION_SUFFIX'));
define('SOCIAL_LINK_FACEBOOK', env('SOCIAL_LINK_FACEBOOK', 'https://www.facebook.com/invoiceninja'));
define('SOCIAL_LINK_TWITTER', env('SOCIAL_LINK_TWITTER', 'https://twitter.com/invoiceninja'));

View File

@ -161,7 +161,8 @@ trait GeneratesNumbers
if (count($matches) > 1) {
$format = $matches[1];
$search[] = $matches[0];
$date = date_create()->format($format);
//$date = date_create()->format($format);
$date = Carbon::now(session(SESSION_TIMEZONE, DEFAULT_TIMEZONE))->format($format);
$replace[] = str_replace($format, $date, $matches[1]);
}

View File

@ -59,7 +59,7 @@ author = u'Invoice Ninja'
# The short X.Y version.
version = u'3.1'
# The full version, including alpha/beta/rc tags.
release = u'3.1.1'
release = u'3.1.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.