开发者

NSDateFormatter in an NSTableView with a datasource

I am trying to use the NSDateFormatter on a cell in a table view. My table view uses a dataSource not an NSArr开发者_如何学PythonayController.

For some reason, when I enter a date, the setObjectValue:forTableColumn... gets a date with ‑0000 timezone. I set the formatter in IB and I also tried setting in the delegate method dataCellForTableColumn.

Why doesn't the NSDateFormatter keep the time zone?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜