PEAK XOOPS - 祝祭日について ~About holidays in englishin japanese

祝祭日について ~About holidays

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/8/21 5:10
FutureSpy  伍長 From: 世界のどっかで  Posts: 70
はじめまして、日系ブラジル人のユウジです。

毎年同じ日にある祝祭日をセットするのが出来るかな?

たとえば、クリスマスは12月25日です。pical_vars.phtmlに、毎年クリスマスの日付を追加しなければならないんですか。


僕の日本語を許してください。2月から日本語学校を通ってるので、日本語はまだよく書けません。

ユウジ


Hi.

Are there a way I can set fixed holidays only once?

For example, Christmas is December 25th. Do I have to set it over for every year?

-Yuji
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/8/21 14:23
GIJOE  先任軍曹   Posts: 4110
hi Yuji.
Welcome to this site.
I know your name in the site of toshimitsu (=domifara).
You write Japanese very well !

BTW, I'm answering to your question.

The table of holidays in pical_vars.phtml must be indexed 'Y-n-j'.
If you want to set every 12-25 from 1970 to 2030, you can achieve like this:
$this->holidays = array( ...
	);

for( $y = 1970 ; $y <= 2030 ; $y ++ ) {
	$this->holidays[ "{$y}-12-25" ] = 1 ;
}
Votes:1 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/8/21 23:43
FutureSpy  伍長 From: 世界のどっかで  Posts: 70
Thanks for replying!

piCal is awesome!
I know it from older versions, but since I never needed a calendar, I hadn't the chance to test it very deeply.

XOOPS Japanese Community seems very powerful! (maybe a little obvious, as XOOPS was created by a Nihonjin...).
I'm sure in the forums there must be a lot of interesting discussion I can't read. (My Japanese needs a lot of improving >_>)
I often go ask stuff on other's site, and all them are very kind. ^_^ (Sometimes I abuse of their patient asking stupid stuff, but as I'm totally ignorant when it comes to PHP or any programming...)

Sorry for bothering you..

-Yuji


ご返事ありがとうございました!

piCalは素晴らしいです。
前のバーションから知ってたけど、今はじめてカレンダーを必要としているので、深くにテスト出来ませんでした。

XOOPS日本公式は本当に強いですね...(まあ、XOOPSの作者は日本人で、ちょっと自明かな?)
きっとフォーラムには、いろんな面白いことがありますけど、読めません...(僕の日本語はぜんぜん良くありません >_>)
人のサイトによく遊びに行って、みんなはとてもやさしいです。 ^_^ (バカなことを聞いて、迷惑をかけてしまうけど、PHPとかなら僕はぜんぜん分かりませんですが、仕方がないだろう...)

お邪魔しましたね

ユウジ
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!