Bootstrap Datepicker

1,177 views
Skip to first unread message

Donald Gilbert

unread,
Oct 3, 2012, 9:57:03 PM10/3/12
to joomla-de...@googlegroups.com
http://www.eyecon.ro/bootstrap-datepicker/

I discovered this today. What are everyone's thoughts on implementing this in the JUI to replace the current (IMHO ugly) datepicker?

Donald Gilbert

unread,
Oct 3, 2012, 10:01:46 PM10/3/12
to joomla-de...@googlegroups.com
And here's a fork that's actively maintained - https://github.com/eternicode/bootstrap-datepicker

nicowisamu

unread,
Oct 4, 2012, 6:38:00 AM10/4/12
to joomla-de...@googlegroups.com
Hi,

There was already a proposal on the CMS group for that with a working patch :
https://groups.google.com/d/topic/joomla-dev-cms/PclwGcO7BoU/discussion
There was a problem reported for the support of some languages though.

I would recommend to contact Marc Studer.

I also think that it's something which should be dealt with for joomla
3.1 since the datepicker is 8 years old now and is not maintained
anymore.

Nicolas

2012/10/4 Donald Gilbert <dilber...@gmail.com>:

JM Simonet

unread,
Oct 5, 2012, 4:23:45 AM10/5/12
to joomla-de...@googlegroups.com
Bootstrap datepicker (as is) is incompatible with custom
(non-gregorian) calendars we use in Joomla.

JM
--
>Please keep the Subject wording in your answers
This e-mail and any attachments may be confidential. You must not
disclose or use the information contained in this e-mail if you are
not the
intended recipient. If you have received this e-mail in error, please
notify us immediately and delete the e-mail and all copies.
-----------------------------------------------------------
Jean-Marie Simonet / infograf768
Joomla Production Working group
Joomla! Translation Coordination Team

Donald Gilbert

unread,
Oct 10, 2012, 6:20:27 PM10/10/12
to joomla-de...@googlegroups.com
I see. What could we do to make it compatible. Because the old has really got to go. Or maybe we should just update what's there to look better using bootstrap markup.

Mark Dexter

unread,
Oct 10, 2012, 6:33:47 PM10/10/12
to joomla-de...@googlegroups.com
Perhaps a great solution (but not the easiest) would be to fix the
bootstrap datepicker to work with international calendars. That would
be a win-win. Mark

Elin Waring

unread,
Oct 10, 2012, 7:06:17 PM10/10/12
to joomla-de...@googlegroups.com
It's an open source project, they take pull requests. Or if they don't want it, we can just use it. So if someone would want to take on integrating calendars of the world it would be excellent.  

Gives an idea of the range of calendars that have come up. 

It would be awesome for it to be someone from Joomla who does that.

Elin

javier gómez

unread,
Oct 10, 2012, 7:14:16 PM10/10/12
to joomla-de...@googlegroups.com

That one is funny (we should really support it in Joomla ^_^) : 

Non-Earth calendar proposals



Just kidding. Does anyone knows what are the calendars that are currently supporting with the current datepicker?
--
Javi

Louis Landry

unread,
Oct 11, 2012, 1:05:11 AM10/11/12
to joomla-de...@googlegroups.com
While we are on the subject.  One of the things that hardly any date pickers have is the ability to chose time as well.  When choosing a publishing date/time in the future that can be very very useful.  It would be great if that was part of the thought process in moving this forward.  

- Louis

Beat

unread,
Oct 11, 2012, 2:40:51 AM10/11/12
to joomla-de...@googlegroups.com, louis....@gmail.com

On Thursday, October 11, 2012 7:05:12 AM UTC+2, Louis Landry wrote:
While we are on the subject.  One of the things that hardly any date pickers have is the ability to chose time as well.  When choosing a publishing date/time in the future that can be very very useful.  It would be great if that was part of the thought process in moving this forward.  

- Louis

Indeed. And also display the timezone under which the date+time are set to avoid any ambiguity. :-)

Beat

Elin Waring

unread,
Oct 11, 2012, 8:55:40 AM10/11/12
to joomla-de...@googlegroups.com, louis....@gmail.com
I know for sure that basically every Asian language includes a lunar calendar and we also have Farsii, Hebrew and Islamic. It was a really great achievement to get the ability to do this for 1.6 which is why I think none of us want to go backwards.

This document explains how language packs can work with calendars:
Of course they must include their own js also. If we can do something to make that even easier that would be awesome. We sadly don't have languages on github at this point so I"m attaching the Thai js files for 3.0 if anyone is interested.  Thanks to Javier it' really easy to experiment with different languages now.

Elin 
calendar.js
calendar-setup.js

JM Simonet

unread,
Oct 11, 2012, 10:51:49 AM10/11/12
to joomla-de...@googlegroups.com
Folks interested to look into this should download the Persian language pack and look carefully at the fa-IR.localise.php and the js files installed in media (files present in the site part of the pack.
Link:

JM

Chris Davenport

unread,
Oct 11, 2012, 4:22:58 PM10/11/12
to joomla-de...@googlegroups.com
I would dearly love to work on a proper multi-language, multi-calendar implementation in Joomla (calendars are a bit of a pet interest of mine), but sadly my workload is not going to permit it.  I would definitely like to encourage a small team to get together to work on it though.

Chris.


On 11 October 2012 15:51, JM Simonet <infog...@gmail.com> wrote:
Folks interested to look into this should download the Persian language pack and look carefully at the fa-IR.localise.php and the js files installed in media (files present in the site part of the pack.
Link:

JM



--
Chris Davenport
Joomla Production Leadership Team

Reply all
Reply to author
Forward
0 new messages