Skip to content

Commit

Permalink
Fix #23
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jun 28, 2024
1 parent 5c08621 commit 45728bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/core/components/editors/datetime.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class DateTimeEditor extends HookConsumerWidget {

await pickDateTime(context, initialDateTime,
(pickedDateTime) async {
final v = NocoDate.fromDateTime(pickedDateTime);
final v = NocoDateTime(pickedDateTime);
await onUpdate({column.title: v.toApiValue()});
controller.text = v.toString();
});
Expand Down

0 comments on commit 45728bd

Please sign in to comment.