mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-01-12 17:52:17 +08:00
explicitly setting no style as baseline for date formats
This commit is contained in:
@@ -112,6 +112,9 @@ module RubyMotionQuery
|
||||
@_date_formatters[styles.to_s] ||= begin
|
||||
date_formatter = NSDateFormatter.alloc.init
|
||||
|
||||
date_formatter.setDateStyle(NSDateFormatterNoStyle)
|
||||
date_formatter.setDateStyle(NSDateFormatterNoStyle)
|
||||
|
||||
styles.each do |style|
|
||||
if DATE_STYLES.has_key?(style)
|
||||
date_formatter.setDateStyle(DATE_STYLES.fetch(style))
|
||||
|
||||
Reference in New Issue
Block a user