jquery/globalize — Issue #93: Support for "G"/"g" generalized date patterns
Author: lancehunt
Created: 2012-03-05 16:45:08+00:00
State: open

The most commonly used date format in .NET apps I have built is the "G" or "g" generalized date patterns. Please add support for this across all cultures:

(MSDN: http://msdn.microsoft.com/en-us/library/az4se3k1.aspx)
"g"
General date/time pattern (short time).
More information: The General Date Short Time ("g") Format Specifier.
6/15/2009 1:45:30 PM -> 6/15/2009 1:45 PM (en-US)
6/15/2009 1:45:30 PM -> 15/06/2009 13:45 (es-ES)
6/15/2009 1:45:30 PM -> 2009/6/15 13:45 (zh-CN)
"G"
General date/time pattern (long time).
More information: The General Date Long Time ("G") Format Specifier.
6/15/2009 1:45:30 PM -> 6/15/2009 1:45:30 PM (en-US)
6/15/2009 1:45:30 PM -> 15/06/2009 13:45:30 (es-ES)
6/15/2009 1:45:30 PM -> 2009/6/15 13:45:30 (zh-CN)