Add a timestamp generator helper utility

This commit is contained in:
zontreck 2025-01-06 02:44:33 -07:00
parent 3eb1d0e691
commit 43db279895
6 changed files with 26 additions and 11 deletions

8
dart/bin/timestamp.dart Normal file
View file

@ -0,0 +1,8 @@
import 'package:libac_dart/utils/TimeUtils.dart';
import 'package:simplehelpertools/constants.dart';
void main() {
print(
"Timestamp\nVersion: ${HelperConsts.TIMESTAMP_VERSION}\nLibAC Version: ${HelperConsts.LIBAC_VERSION}\n\n");
print("Current unix timestamp is: ${TimeUtils.getUnixTimestamp()}");
}

View file

@ -8,4 +8,7 @@ class HelperConsts {
static const CH_VERSION = "1.0.112724+1534";
static String get LIBAC_VERSION => Constants.VERSION;
static const AES_VERSION = "1.0.010625+0238";
static const TIMESTAMP_VERSION = "1.0.010625+0238";
}

View file

@ -11,7 +11,7 @@ dependencies:
args: ^2.4.2
libac_dart:
hosted: https://git.zontreck.com/api/packages/AriasCreations/pub/
version: 1.2.82924+1846
version: 1.3.010625+0228
dev_dependencies:
lints: ^4.0.0