Skip to content

Commit

Permalink
remove intl dependency (#192)
Browse files Browse the repository at this point in the history
opened up an old project and had a conflict with this package, realized there is no reason we need it in the SDK itself, only used it for one helper function.
  • Loading branch information
clintpurser authored Apr 12, 2024
1 parent 8037f7b commit 6070066
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions lib/widgets/refreshable_data_table.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:intl/intl.dart';

import 'button.dart';

Expand Down Expand Up @@ -80,7 +79,7 @@ class _ViamRefreshableDataTableState extends State<ViamRefreshableDataTable> {
}

String formattedDate(DateTime date) {
return DateFormat('yyyy-MM-dd HH:mm:ss:SS').format(date);
return '${date.year}-${date.month}-${date.day} ${date.hour}:${date.minute}:${date.second}:${date.millisecond}';
}

@override
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ dependencies:
fixnum: ^1.1.0
flutter_joystick: ^0.0.3
collection: ^1.17.1
intl: ^0.19.0
async: ^2.11.0
bonsoir: ^5.1.8

Expand Down

0 comments on commit 6070066

Please sign in to comment.