RSS   Twitter   Copiny   Copiny
Нашел ошибку? 

Выдели фрагмент текста с ошибкой или неточностью и нажми Ctrl+Enter!

Календарь / Сalendar

Календарь — тип параметра Joomla

Параметр типа «calendar» предоставляет текстовое поле для ввода даты. Значок, который расположен правее, добавляет всплывающий JavaScript календарь, в котором с помощью нескольких кликов можно установить нужную дату.

Атрибуты для «calendar»:

  • type* — должен быть calendar.
  • default — значение по умолчанию, которое должно быть в формате по шаблону из свойства format.
  • format — используемый формат даты. Подробнее смотрите ниже ниже. Если не указано, то будет использоваться «%Y-%m-%d».

 

Пример использования

<param name="mycalendar" type="calendar" default="5-10-2008" label="Select a date" description="" format="%d-%m-%Y" />

 

Формат даты

В свойстве format указывается формат даты, который будет использоваться при сохранении. «Шаблон» для даты пишется по правилам PHP. В таблице ниже описаны основные, часто используемые символы.

Символ Описание Пример
d День месяца, 2 цифры, при необходимости с нулем в начале
от 01 до 31
D Текстовое представление дня недели в краткой форме
Пн.-Пт.
j День месяца без нуля
от 1 до 31
l Текстовое представление дня неделя в полной форме
от Понедельника до Воскресенья
N ISO-8601 числовое представление дня недели (поддерживается только на серверах под управлением PHP 5.1.0 или более поздней версии) от 1 (для понедельника)
до 7 (для воскресенья)
S Английский суффикс для дня месяца, 2 символа
st, nd, rd or th.Рекомендуем использовать с j
w Порядковый номер дня недели
от 0 (воскресенье)
до 6 (суббота)
z День года, отсчет с 0
от 0 до 365
W ISO-8601 номер недели в году, счет начинается с первого понедельника
42 (42 недели в год)
F Текстовое представление названия месяца в полной форме
с Января по Декабрь
m Числовое представление месяца, при необходимости с нулем в начале
от 01 до 12
M Текстовое представление названия месяца в краткой форме от Янв до Дек
n Числовое представление месяца без нуля в начале
от 1 до 12
t Количество дней в месяце
от 28 до 31
o ISO-8601 номер года. (поддерживается только на серверах под управлением PHP 5.1.0 или более поздней версии) 1999 или 2003
Y Полное число года в 4 цифры
1999 или 2003
y Год, две последовании цифры
99 или 03
a В нижнем регистре «ДО» и «ПОСЛЕ» полудня
am или pm
A В верхнем регистре «ДО» и «ПОСЛЕ» полудня AM или PM

Примечание: тип календаря параметр не поддерживает не григорианский календарь. Если вам необходима поддержка не григорианского календаря, то вам необходимо создать нестандартный тип параметра с соответствующей поддержкой.

Смотрите также:
Комментарии (42) Добавить комментарий
  • Leroy
    Leroy
    03 Октября 2017, 06:54
     ↑  0  ↓     ответ

    Spot on with this write-up, I absolutely believe that this amazing

    site needs far more attention. I'll probably be

    returning to read more, thanks for the info!

  • Dallas
    Dallas
    03 Октября 2017, 06:56
     ↑  0  ↓     ответ

    Thanks a bunch for sharing this with all folks you really recognise

    what you are talking about! Bookmarked. Kindly additionally

    talk over with my site =). We may have a link trade agreement among us

  • environment
    environment
    03 Мая 2020, 23:13
     ↑  0  ↓     ответ

    I must thank you for the efforts you have put in writing this site.

    I am hoping to see the same high-grade content by you in the future as well.

    In truth, your creative writing abilities has inspired me

    to get my own, personal website now ;)

  • g
    g
    16 Июня 2020, 18:04
     ↑  0  ↓     ответ

    Every weekend i used to go to see this site, as i wish for enjoyment, for the reason that this this site conations truly good funny information too.

  • g
    g
    17 Июня 2020, 07:18
     ↑  0  ↓     ответ

    We stumbled over here by a different website and thought I might as well check things out.

    I like what I see so now i'm following you. Look forward to going over your

    web page yet again.

  • g
    g
    18 Июня 2020, 01:53
     ↑  0  ↓     ответ

    hi!,I really like your writing so a lot! proportion we keep up a correspondence

    more approximately your article on AOL? I need a specialist on this house to solve my problem.

    Maybe that's you! Having a look forward to peer you.

  • http://tinyurl.com
    http://tinyurl.com
    26 Марта 2022, 08:40
     ↑  0  ↓     ответ

    Your method of describing the whole thing in this post is genuinely pleasant, all be capable of simply understand it, Thanks

    a lot.

  • tinyurl.com
    tinyurl.com
    27 Марта 2022, 08:35
     ↑  0  ↓     ответ

    Every weekend i used to go to see this site, as i wish for enjoyment, since this this web site conations genuinely

    fastidious funny material too.

  • http://tinyurl.com/yb6w7sqw
    http://tinyurl.com/yb6w7sqw
    01 Апреля 2022, 23:31
     ↑  0  ↓     ответ

    Its like you read my mind! You appear to know so much about this, like

    you wrote the book in it or something. I think that you could do with a few pics to drive the message home a bit, but other than that, this is magnificent blog.

    A great read. I will certainly be back.

  • airline tickets
    airline tickets
    03 Апреля 2022, 03:12
     ↑  0  ↓     ответ

    hi!,I love your writing so a lot! share we keep

    in touch more about your article on AOL? I require

    a specialist in this house to resolve my problem. May be that's you!

    Looking ahead to peer you.

  • cheap flights booking
    cheap flights booking
    03 Апреля 2022, 12:09
     ↑  0  ↓     ответ

    each time i used to read smaller posts that as well clear their motive, and that

    is also happening with this paragraph which I

    am reading at this time.

  • search cheap flights
    search cheap flights
    04 Апреля 2022, 16:59
     ↑  0  ↓     ответ

    excellent issues altogether, you just won a emblem new reader.

    What may you recommend in regards to your submit that you

    simply made some days ago? Any positive?

  • flight tickets cheap
    flight tickets cheap
    05 Апреля 2022, 03:11
     ↑  0  ↓     ответ

    I think this is among the most vital info for me.

    And i'm glad reading your article. But wanna remark on few general things, The

    site style is great, the articles is really great : D.

    Good job, cheers

  • flight tickets cheap
    flight tickets cheap
    05 Апреля 2022, 19:44
     ↑  0  ↓     ответ

    Everyone loves it when people come together and share thoughts.

    Great blog, keep it up!

  • flight tickets cheap
    flight tickets cheap
    06 Апреля 2022, 07:28
     ↑  0  ↓     ответ

    I don't even know the way I stopped up right here,

    however I assumed this publish was good. I do not know who

    you're but certainly you're going to a well-known blogger

    if you aren't already. Cheers!

  • flight tickets cheap
    flight tickets cheap
    06 Апреля 2022, 16:40
     ↑  0  ↓     ответ

    Excellent pieces. Keep writing such kind of information on your site.

    Im really impressed by your blog.

    Hi there, You have performed an excellent job. I'll certainly digg it and personally recommend to my friends.

    I'm confident they'll be benefited from this website.

  • gamefly
    gamefly
    07 Апреля 2022, 06:29
     ↑  0  ↓     ответ

    It's really a cool and useful piece of information. I'm glad that

    you simply shared this useful info with us. Please

    keep us up to date like this. Thank you for sharing.

  • gamefly
    gamefly
    11 Апреля 2022, 01:15
     ↑  0  ↓     ответ

    Unquestionably consider that which you stated. Your favourite justification seemed to be on the internet the simplest factor to keep in mind of.

    I say to you, I certainly get irked even as people consider concerns that they just

    do not know about. You controlled to hit the nail upon the highest and also defined out the entire thing without having side effect , other folks could take a signal.

    Will probably be back to get more. Thanks

  • http://tinyurl.com
    http://tinyurl.com
    10 Мая 2022, 12:44
     ↑  0  ↓     ответ

    It's remarkable to pay a quick visit this web page and reading the views of all friends about this paragraph, while I am also zealous of getting

    know-how.

  • tinyurl.com
    tinyurl.com
    12 Мая 2022, 01:11
     ↑  0  ↓     ответ

    It's actually a cool and helpful piece of information.

    I am happy that you simply shared this helpful info with us.

    Please keep us up to date like this. Thanks for sharing.

  • http://tinyurl.com/yxdtxkdj
    http://tinyurl.com/yxdtxkdj
    16 Мая 2022, 20:34
     ↑  0  ↓     ответ

    each time i used to read smaller posts that also clear their motive,

    and that is also happening with this piece of writing which I am reading now.

  • tinyurl.com
    tinyurl.com
    05 Июня 2022, 19:51
     ↑  0  ↓     ответ

    I just like the helpful information you supply on your articles.

    I will bookmark your weblog and check again here regularly.

    I'm quite sure I'll be told lots of new stuff proper right

    here! Best of luck for the next!

  • http://tinyurl.com/
    http://tinyurl.com/
    07 Июля 2022, 13:07
     ↑  0  ↓     ответ

    Nice blog here! Also your website loads up fast! What host are you using?

    Can I get your affiliate link to your host? I wish my

    web site loaded up as fast as yours lol

  • bit.ly
    bit.ly
    15 Июля 2022, 19:23
     ↑  0  ↓     ответ

    Wonderful blog! I found it while surfing around on Yahoo News.

    Do you have any tips on how to get listed in Yahoo News?

    I've been trying for a while but I never seem to get there!

    Cheers

  • tinyurl.com
    tinyurl.com
    22 Июля 2022, 11:15
     ↑  0  ↓     ответ

    I'd like to find out more? I'd want to find out more details.

  • tinyurl.com
    tinyurl.com
    23 Июля 2022, 12:55
     ↑  0  ↓     ответ

    Nice blog here! Additionally your website loads up very

    fast! What host are you the use of? Can I am getting your

    affiliate link on your host? I want my web site loaded up as quickly as yours lol

  • tinyurl.com
    tinyurl.com
    26 Июля 2022, 21:56
     ↑  0  ↓     ответ

    We are a bunch of volunteers and starting a new scheme in our community.

    Your site offered us with valuable info to work on. You've done

    an impressive activity and our whole community will probably be grateful to you.

  • tinyurl.com
    tinyurl.com
    28 Июля 2022, 06:47
     ↑  0  ↓     ответ

    Excellent write-up. I absolutely love this site. Stick with it!

  • tinyurl.com
    tinyurl.com
    02 Августа 2022, 07:03
     ↑  0  ↓     ответ

    Appreciating the time and energy you put into

    your site and in depth information you present.

    It's nice to come across a blog every once in a while that isn't

    the same old rehashed information. Wonderful read! I've saved your site

    and I'm including your RSS feeds to my Google account.

  • http://tinyurl.com/
    http://tinyurl.com/
    03 Августа 2022, 10:57
     ↑  0  ↓     ответ

    It's very easy to find out any topic on net

    as compared to books, as I found this piece of writing at this web site.

  • arsitec.cl
    arsitec.cl
    08 Августа 2022, 00:38
     ↑  0  ↓     ответ

    I need to to thank you for this wonderful read!! I

    certainly loved every bit of it. I have got you book marked

    to look at new things you post…

  • tinyurl.com
    tinyurl.com
    08 Августа 2022, 21:37
     ↑  0  ↓     ответ

    Everything is very open with a clear clarification of the

    challenges. It was really informative. Your website is very useful.

    Thank you for sharing!

  • tinyurl.com
    tinyurl.com
    10 Августа 2022, 12:43
     ↑  0  ↓     ответ

    This design is incredible! You obviously know how to keep a reader entertained.

    Between your wit and your videos, I was almost moved to

    start my own blog (well, almost...HaHa!) Fantastic job.

    I really enjoyed what you had to say, and more than that, how

    you presented it. Too cool!

  • special
    special
    11 Августа 2022, 23:36
     ↑  0  ↓     ответ

    Hello there, just became alert to your blog through Google, and found that it's really informative.

    I am going to watch out for brussels. I'll appreciate if you continue this in future.

    Many people will be benefited from your writing. Cheers!

  • http://tinyurl.com/2fxec5wx
    http://tinyurl.com/2fxec5wx
    12 Августа 2022, 16:49
     ↑  0  ↓     ответ

    Hello there, You've done a great job. I will definitely

    digg it and personally recommend to my friends. I am sure they will be

    benefited from this web site.

  • http://tinyurl.com/2ejx6m7a
    http://tinyurl.com/2ejx6m7a
    13 Августа 2022, 19:20
     ↑  0  ↓     ответ

    When someone writes an paragraph he/she keeps the idea of a user in his/her mind

    that how a user can know it. So that's why this paragraph is outstdanding.

    Thanks!

  • http://tinyurl.com/
    http://tinyurl.com/
    14 Августа 2022, 13:11
     ↑  0  ↓     ответ

    I'm extremely impressed with your writing skills as well as with the layout on your blog.

    Is this a paid theme or did you modify it yourself?

    Anyway keep up the nice quality writing, it is

    rare to see a nice blog like this one these days.

  • http://tinyurl.com/2h86fokk
    http://tinyurl.com/2h86fokk
    15 Августа 2022, 15:26
     ↑  0  ↓     ответ

    Hey very interesting blog!

  • http://tinyurl.com/2ksuher6
    http://tinyurl.com/2ksuher6
    15 Августа 2022, 22:18
     ↑  0  ↓     ответ

    When someone writes an paragraph he/she retains the

    image of a user in his/her brain that how a user can understand it.

    Therefore that's why this paragraph is amazing. Thanks!

  • http://tinyurl.com/2kkbjeag
    http://tinyurl.com/2kkbjeag
    17 Августа 2022, 21:30
     ↑  0  ↓     ответ

    Wow, incredible blog format! How long have you been blogging for?

    you make running a blog glance easy. The full look of your site is fantastic, as smartly as the content

    material!

  • tracfone special coupon 2022
    tracfone special coupon 2022
    26 Ноября 2022, 16:43
     ↑  0  ↓     ответ

    all the time i used to read smaller content which also clear their motive, and that is also happening with

    this post which I am reading at this place.

  • Lula
    Lula
    28 Января 2023, 07:17
     ↑  0  ↓     ответ

    Dear joomla-book.ru admin, Good to see your posts!

Оставить комментарий




* обязательно для заполнения

1 введенный почтовый адрес используется только для обратной связи при ответах в комментариях и сервиса gravatar.com
.