From: "Nikolay A. Fetisov" <naf@naf.net.ru> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] I: PHP TimeZones в M51 и ранее Date: Sat, 29 Oct 2011 20:34:31 +0400 Message-ID: <1319906074.73978.14.camel@v3405.naf.net.ru> (raw) Здравствуйте! PHP, как отличный язык, всё своё носит с собой. В т.ч. и информацию о временных зонах. Для Sisyphus и M60T/M60P в PHP описание временных зон достаточное свежее, во всяком случае ближайшей ночью проблем с ними не видится. А вот для M51 и ранее, если кратко - $ date Sat Oct 29 20:15:56 MSK 2011 $ echo '<?php echo date("c",time()),"\n"; ?>' | php 2011-10-29T20:15:58+04:00 $ echo '<?php echo date("c",time()+86400),"\n"; ?>' | php 2011-10-30T19:15:59+03:00 Т.е., видны некоторые проблемы. В Sisyphus ушёл (task #57524), и в M60T, M51, M50, M40 сейчас уйдёт пакет php5-timezonedb, с обновлениями описаний зон до 2011.13 (2011m). С M41 пока вопрос открыт - использовать внешнюю библиотеку php5-5.2.5-alt1.M51.3.5 в ней не хочет. -- С уважением, Николай Фетисов
next reply other threads:[~2011-10-29 16:34 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-10-29 16:34 Nikolay A. Fetisov [this message] 2011-10-29 20:23 ` Michael Shigorin 2011-10-29 21:51 ` Nikolay A. Fetisov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1319906074.73978.14.camel@v3405.naf.net.ru \ --to=naf@naf.net.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git