Skip to content

Commit 94ae620

Browse files
author
Jenkins
committed
AbraFlexi release v2025.1.1
1 parent bcb7a44 commit 94ae620

File tree

8 files changed

+4833
-5069
lines changed

8 files changed

+4833
-5069
lines changed

debian/changelog

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
php-spojenet-abraflexi (3.3.1.245~noble.247~bullseye) UNRELEASED; urgency=medium
1+
php-spojenet-abraflexi (3.3.1.245~noble.247~bullseye.249~bullseye) UNRELEASED; urgency=medium
22

33
* build fix
44
* jenkins-Spoje.Net-php-spojenet-abraflexi-245
55
* jenkins-Spoje.Net-php-spojenet-abraflexi-247
6+
* jenkins-Spoje.Net-php-spojenet-abraflexi-249
67

7-
-- vitex <[email protected]> Tue, 31 Dec 2024 11:50:55 +0000
8+
-- vitex <[email protected]> Tue, 31 Dec 2024 12:43:45 +0000
89

910
php-spojenet-abraflexi (3.3.0.235~noble.236~noble.237~jammy.239~noble.240~noble.241~noble) experimental; urgency=medium
1011

src/AbraFlexi/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Actions
2323
/**
2424
* Source AbraFlexi server version.
2525
*/
26-
public static string $version = '2025.1.0';
26+
public static string $version = '2025.1.1';
2727

2828
/**
2929
* Evidence adresar (Adresy firem) Actions.

src/AbraFlexi/Date.php

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ public function __construct(string $flexidate = 'NOW')
5757
}
5858
}
5959

60+
/**
61+
* Render Object as AbraFlexi::$DateFormat.
62+
*
63+
* @return string
64+
*/
65+
public function __toString()
66+
{
67+
return $this->isNull ? '' : $this->format(Functions::$DateFormat);
68+
}
69+
6070
/**
6171
* Convert Timestamp to AbraFlexi Date format.
6272
*
@@ -66,23 +76,12 @@ public function __construct(string $flexidate = 'NOW')
6676
*/
6777
public static function timestampToFlexiDate($timpestamp = null)
6878
{
69-
$flexiDate = new Date();
79+
$flexiDate = new self();
7080

7181
if (null !== $timpestamp) {
7282
$flexiDate->setTimestamp($timpestamp);
7383
}
7484

7585
return $flexiDate;
7686
}
77-
78-
79-
/**
80-
* Render Object as AbraFlexi::$DateFormat.
81-
*
82-
* @return string
83-
*/
84-
public function __toString()
85-
{
86-
return $this->isNull ? '' : $this->format(Functions::$DateFormat);
87-
}
8887
}

src/AbraFlexi/DateTime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static function timestampToFlexiDateTime($timpestamp = null)
8585

8686
return $flexiDateTime;
8787
}
88-
88+
8989
/**
9090
* Easy way how to force format DateTime used.
9191
*

0 commit comments

Comments
 (0)