Kaynağa Gözat

Release version 1.02.12 and fix to digital forms date formatting

Nick-PRSDigital@bitbucket.org 2 yıl önce
ebeveyn
işleme
2827f44372

+ 1 - 1
prs.mobile.new/PRS.Mobile.Droid/Properties/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="102200" android:versionName="1.02.2" package="comal.timesheets.Android">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="102120" android:versionName="1.02.12" package="comal.timesheets.Android">
 	<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="33" />
 	<queries>
 		<intent>

+ 2 - 1
prs.mobile.new/PRS.Mobile.Droid/Resources/Resource.designer.cs

@@ -2,6 +2,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
@@ -14,7 +15,7 @@ namespace PRS.Mobile.Droid
 {
 	
 	
-	[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.0.99")]
+	[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.1.111")]
 	public partial class Resource
 	{
 		

+ 1 - 1
prs.mobile.new/PRS.Mobile.iOS/Info.plist

@@ -27,7 +27,7 @@
 	<key>CFBundleIdentifier</key>
 	<string>com.prsdigital.prssiteapp</string>
 	<key>CFBundleVersion</key>
-	<string>1.02.8</string>
+	<string>1.02.12</string>
 	<key>UILaunchStoryboardName</key>
 	<string>LaunchScreen</string>
 	<key>CFBundleName</key>

+ 6 - 2
prs.mobile.new/PRS.Mobile/Components/DigitalForms/Editor/QAFormViewer.cs

@@ -612,7 +612,7 @@ namespace PRS.Mobile
             string value = "";
             DFLayoutDateField dfLayoutDateField = element as DFLayoutDateField;
             DatePicker item = new DatePicker();
-            item.Format = "dd MMM yyyy";
+            item.Format = "dd-MM-yyyy";
             if (dfLayoutDateField.Properties.Required)
                 item.BackgroundColor = isRequiredColor;
             item.HorizontalOptions = LayoutOptions.CenterAndExpand;
@@ -620,7 +620,11 @@ namespace PRS.Mobile
             {
                 if (!string.IsNullOrWhiteSpace(value))
                 {
-                    item.Date = DateTime.Parse(value);
+                    try
+                    {
+                        item.Date = DateTime.Parse(value);
+                    }
+                    catch { }
                 }
             }
             if (loadRetainedForm)