CALENDAR 066
New Release 066
somes bug corrected, lot of simplifications an a workaround for the last one. This workaround serve to pass a bug I can’t understand. The weekday is previous dayfor leap year so workaround correct that
There is not documentation yet.
This release bring two types:
-
DATE
is millisec based since 01/01/1970 -
CALENDAR
is seconds based since 01/01/00 BUT NOT FINISHED … please do not use it
-
date
create a today date tuple -
parse-date-fr
date parser exemple
this word should create a vector { timelag hour min sec day month year } then call vector>date
(eg: “25/07/2005 16:12:18″ parse-date-fr ) -
format
date formater
Use a format vector using some Keyword ( %day=day-name %month=month-name %Y=year %M=month %D=day %H=hour %M=min %S=second)
eg: { %day ” ” %D “/” %M “/” %Y ” ” %h “:” %m “:” %s } format . -
print-month
year month printer
eg: 2004 1 print-month
Jeudi 01/01/2004 00:00:00
Vendredi 02/01/2004 00:00:00
Samedi 03/01/2004 00:00:00
etc…
Some exemples
date dup { %D “/” %M “/” %Y ” ” %h “:” %m “:” %s } format parse-date-fr { %day ” ” %D “/” %M “/” %Y ” ” %h “:” %m “:” %s } format . { %day ” ” %D “/” %M “/” %Y ” ” %h “:” %m “:” %s } format .
“25/07/2005 16:12:18″ parse-calendar-fr { %day ” ” %D “/” %M “/” %Y ” ” %h “:” %m “:” %s } format .
Database error: [Table 'yvan_godin.wp_comments' doesn't exist]
SELECT * FROM wp_comments WHERE comment_post_ID = '31' AND comment_approved = '1' ORDER BY comment_date
Commentaires
Pas encore de commentaire
Flux RSS pour les commentaires sur cet article.
Poster un commentaire
Désolé, le formulaire de commentaire est fermé pour le moment.