| Issue 2459: | fullTimeText vs. timeText displayed format | |
| Back to list |
On the file 'common/TimeGrid.events.js', function 'fgSegHtml' it's defined that the time format displayed on each time cell on the week view is the variable 'timeText', which (depending on your locale) displays something like '03:00 - 04:00', while in the '.fc-time' there's an attribute called 'data-full' that holds the variable 'fullTextTime' in the format '03:00am - 04:00am' (again, depending on your local). In a general case I think it'd be better if the default displayed time would be the one on 'fullTextTime', since it's clearer for the user what time it is (am or pm). I could, and tried, to go around this using my own js, which simply takes the 'data-full's value and puts it inside the displayed 'span'. The problem is that, apparently, this only works for the time cells that occupy more than a single cell, otherwise, there's some fullcalendar's css using ':before' and ':after' that still displays the 'timeText' time format.
Mar 13, 2015
#1
tayllanb...@corollarium.com
Mar 16, 2015
(No comment was entered for this change.)
Status:
Done
|
|
| ► Sign in to add a comment |