mirror of
https://github.com/opnsense/plugins.git
synced 2026-04-28 16:41:46 -05:00
sysutils/apcupsd: update via automated scripts
This commit is contained in:
3
LICENSE
3
LICENSE
@@ -5,7 +5,9 @@ Copyright (c) 2021 Axelrtgs
|
||||
Copyright (c) 2019 Cloudfence - Julio Camargo (JCC)
|
||||
Copyright (c) 2005-2006 Colin Smith <ethethlay@gmail.com>
|
||||
Copyright (c) 2020 D. Domig
|
||||
Copyright (c) 2021 Dan Lundqvist
|
||||
Copyright (c) 2011 Dan Myers
|
||||
Copyright (c) 2021 David Berry
|
||||
Copyright (c) 2017-2018 David Harrigan
|
||||
Copyright (c) 2021 David Hughes
|
||||
Copyright (c) 2014-2022 Deciso B.V.
|
||||
@@ -34,6 +36,7 @@ Copyright (c) 2022 Markus Reiter <me@reitermark.us>
|
||||
Copyright (c) 2020 Martin Wasley
|
||||
Copyright (c) 2022 Marvo2011
|
||||
Copyright (c) 2017-2021 Michael Muenz <m.muenz@gmail.com>
|
||||
Copyright (c) 2021 Nicola Pellegrini
|
||||
Copyright (c) 2021 Nim G
|
||||
Copyright (c) 2004-2012 Scott Ullrich <sullrich@gmail.com>
|
||||
Copyright (c) 2010 Seth Mos <seth.mos@dds.nl>
|
||||
|
||||
@@ -91,6 +91,7 @@ security/softether -- Cross-platform Multi-protocol VPN Program (development onl
|
||||
security/stunnel -- Stunnel TLS proxy
|
||||
security/tinc -- Tinc VPN
|
||||
security/tor -- The Onion Router
|
||||
sysutils/apcupsd -- APCUPSD - APC UPS daemon (development only)
|
||||
sysutils/api-backup -- Provide the functionality to download the config.xml
|
||||
sysutils/apuled -- PC Engine APU LED control (development only)
|
||||
sysutils/boot-delay -- Apply a persistent 10 second boot delay (pending removal)
|
||||
|
||||
@@ -96,7 +96,8 @@ class ServiceController extends ApiMutableServiceControllerBase
|
||||
return $status;
|
||||
}
|
||||
|
||||
private function tryParseDateTime($dateTimeString) {
|
||||
private function tryParseDateTime($dateTimeString)
|
||||
{
|
||||
$formats = [
|
||||
'Y-m-d H:i:s P', // 2021-12-27 17:51:42 +0100
|
||||
'D M d H:i:s T Y' // Sat Sep 16 17:13:00 CEST 2000
|
||||
@@ -110,7 +111,8 @@ class ServiceController extends ApiMutableServiceControllerBase
|
||||
return $dateTimeString;
|
||||
}
|
||||
|
||||
private function tryParseDate($dateString) {
|
||||
private function tryParseDate($dateString)
|
||||
{
|
||||
$formats = [
|
||||
'Y-m-d', // 2021-12-27
|
||||
'm/d/y', // 12/27/21
|
||||
|
||||
Reference in New Issue
Block a user