Browse Source

fix format datetime infor plot

master
daivph 5 years ago
parent
commit
ddc2086638
3 changed files with 6 additions and 6 deletions
  1. +3
    -3
      ios/Runner.xcodeproj/project.pbxproj
  2. +2
    -2
      lib/presentation/screens/plot_detail/sc_plot_information.dart
  3. +1
    -1
      pubspec.yaml

+ 3
- 3
ios/Runner.xcodeproj/project.pbxproj View File

@@ -391,7 +391,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 0.12.0;
MARKETING_VERSION = 0.15.0;
PRODUCT_BUNDLE_IDENTIFIER = vn.azteam.tpfarm;
PRODUCT_NAME = Runner;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -533,7 +533,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 0.12.0;
MARKETING_VERSION = 0.15.0;
PRODUCT_BUNDLE_IDENTIFIER = vn.azteam.tpfarm;
PRODUCT_NAME = Runner;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -567,7 +567,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 0.12.0;
MARKETING_VERSION = 0.15.0;
PRODUCT_BUNDLE_IDENTIFIER = vn.azteam.tpfarm;
PRODUCT_NAME = Runner;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";

+ 2
- 2
lib/presentation/screens/plot_detail/sc_plot_information.dart View File

@@ -158,7 +158,7 @@ class _PlotInformationScreenState extends State<PlotInformationScreen>
.withOpacity(0.1),
name: 'Ngày gieo trồng',
value:
'${cropPlot.sowingDate ?? '--'}'),
'${cropPlot.sowingDate.format_DDMMYY_HHmm() ?? '--'}'),
WidgetRowPlotInfo(
color: AppColors.DEFAULT
.withOpacity(0.3),
@@ -188,7 +188,7 @@ class _PlotInformationScreenState extends State<PlotInformationScreen>
.withOpacity(0.3),
name: 'Ngày kết thúc canh tác',
value:
'${cropPlot.tbCropDTO.endDate ?? '--'}'),
'${cropPlot.tbCropDTO.endDate.format_DDMMYY_HHmm() ?? '--'}'),
WidgetRowPlotInfo(
color: AppColors.DEFAULT
.withOpacity(0.1),

+ 1
- 1
pubspec.yaml View File

@@ -2,7 +2,7 @@ name: farm_tpf
description: A new Flutter project.

publish_to: 'none'
version: 0.14.0+1
version: 0.15.0+1

environment:
sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save