My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1146: GMT Offset in dateFormatters
1 person starred this issue and may be notified of changes. Back to list
Status:  ExportedToGithub
Owner:  ----
Closed:  Aug 2015


Sign in to add a comment
 
Reported by pwc1...@gmail.com, Oct 17, 2011
Can you please add the option of GMT offset to the date formatters?

/* function */
O: function (d) { return (-d.getTimezoneOffset() < 0 ? '-' : '+') + (Math.abs(d.getTimezoneOffset() / 60)); },

/* use */
month: "MMMM yyyy '[GMT'O']'",

/* displays */
October 2011 [GMT-4]

Please
Oct 27, 2011
#1 pwc1...@gmail.com
Alternatively, you could include your z,zz,zzz formats from xdate as format options for the date string. BTW... I've attached a screen shot of the format usage in the title.

Thanks!
calendar_title_example.jpg
125 KB   View   Download
Aug 14, 2013
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Accepted
Labels: -Type-Enhancement Type-Feature
Aug 21, 2015
Project Member #3 adamrs...@gmail.com
Discussion for this issue has moved to the following URL:
https://github.com/fullcalendar/fullcalendar/issues/1413

This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event.

Happy coding,
Adam
Status: ExportedToGithub
Sign in to add a comment

Powered by Google Project Hosting