Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] db-date MV4!



******    message to minivend-users from jojo@buchonline.net     ******

Hi list,

i'm not sure how to use [db-date...].

This is the results of my test:

[db-date products] -> show me "products"

[db-date products DATE: %Y-%m-%d%nTIME: %H:%M:%S] -> show me "products"

Changing the UserTag like

server:/home/mvend4/usertag[mvend]# diff -u db_date.orig db_date
--- db_date.orig        Wed Mar 15 10:42:45 2000
+++ db_date     Wed Mar 15 10:43:01 2000
@@ -8,7 +8,7 @@
 UserTag  db-date  PosNumber 2
 UserTag  db-date  Routine <<EOF
 sub {
-    my ($format, $db) = @_;
+    my ($db, $format) = @_;
 
     $format = '%A %d %b %Y' unless $format;
        $db = 'products' unless $db;

and test once more with...

[db-date products] -> show me "Donnerstag 01 Jan 1970"

[db-date products DATE: %Y-%m-%d%nTIME: %H:%M:%S] -> show me "DATE: 1970-01-01 TIME: 01:00:00"

but

server[root]# ll products.*
-rw-------  1 mvend  buchonline  6807552 Mar 15 09:49 products.db
-rw-rw-r--  1 mvend  buchonline  3184199 Mar 15 09:46 products.txt
 
What is going wrong?

Thanks!

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: