changeset 6044:12fd61d549ba

[project @ 2006-10-09 21:28:23 by jwe]
author jwe
date Mon, 09 Oct 2006 21:28:23 +0000
parents 199f15a8d1fc
children 421d8a903df7
files scripts/ChangeLog scripts/time/datevec.m
diffstat 2 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Oct 09 19:49:04 2006 +0000
+++ b/scripts/ChangeLog	Mon Oct 09 21:28:23 2006 +0000
@@ -1,3 +1,7 @@
+2006-10-09  David Bateman  <dbateman@free.fr>
+
+	* time/datevec.m: Add additional compatible default parsing strings.
+
 2006-10-09  Bill Denney  <denney@seas.upenn.edu>
 
 	* pkg/pkg.m: Remove trailing "\n" from error messages.
--- a/scripts/time/datevec.m	Mon Oct 09 19:49:04 2006 +0000
+++ b/scripts/time/datevec.m	Mon Oct 09 21:28:23 2006 +0000
@@ -63,7 +63,18 @@
     std_formats{++nfmt} = "HH:MM";                  # 15
     std_formats{++nfmt} = "HH:MM PM";               # 16
     std_formats{++nfmt} = "mm/dd/yyyy";             # 23
-    # custom formats
+    std_formats{++nfmt} = "mmm-dd-yyyy HH:MM:SS"; 
+    std_formats{++nfmt} = "mmm-dd-yyyy";
+    std_formats{++nfmt} = "dd mmm yyyy HH:MM:SS";
+    std_formats{++nfmt} = "dd mmm yyyy";
+    std_formats{++nfmt} = "mmm dd yyyy HH:MM:SS";
+    std_formats{++nfmt} = "mmm dd yyyy";
+    std_formats{++nfmt} = "dd.mmm.yyyy HH:MM:SS";
+    std_formats{++nfmt} = "dd.mmm.yyyy";
+    std_formats{++nfmt} = "mmm.dd.yyyy HH:MM:SS";
+    std_formats{++nfmt} = "mmm.dd.yyyy";
+
+   # custom formats
     std_formats{++nfmt} = "mmmyy";                  # 12
     std_formats{++nfmt} = "mm/dd/yyyy HH:MM";
   endif