Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Light talk - A byte of Date
Search
Jose Torres Cardenas
December 07, 2016
Programming
0
87
Light talk - A byte of Date
Light talk for CocoaLima. Making a point of the difference between YYYY and yyyy.
Jose Torres Cardenas
December 07, 2016
Tweet
Share
More Decks by Jose Torres Cardenas
See All by Jose Torres Cardenas
Formalización del Proceso de Elaboración de una Arquitectura de Software
coderpug
0
200
Swift build time optimization
coderpug
1
69
Jose.pdf
coderpug
0
25
Light talk - Better Error handling
coderpug
0
46
CocoaLima - Meeting structure
coderpug
0
46
CocoaLima #2
coderpug
0
47
Server-side development with Swift
coderpug
0
78
Real Time iOS apps with PubNub
coderpug
0
300
Other Decks in Programming
See All in Programming
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
What We Can Learn From OSS
inouehi
0
410
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
39
18k
Designing for tomorrow's programming workflows
honnibal
PRO
2
110
try! Swift Tokyo 2024のLT枠に採択されたプロポーザルを出すときに考えていたこと
ski
0
340
ONE WEDGE_company_guide
1wedge_one
0
390
Code Reviews
bkuhlmann
4
880
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
360
チーム力を高めるスクラム実践法:カンバン公開と課題攻略について - ニフティのスクラムトーク Vol. 2 - NIFTY Tech Talk #18
niftycorp
PRO
1
110
Site Reliability Engineering for GMO
pyama86
7
980
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
290
코틀린으로 멀티플랫폼 만들기
pangmoo
0
120
Featured
See All Featured
Bash Introduction
62gerente
604
210k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
154
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
15
1.4k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Building Adaptive Systems
keathley
30
1.9k
Ruby is Unlike a Banana
tanoku
96
10k
Designing for Performance
lara
601
67k
Statistics for Hackers
jakevdp
789
220k
Testing 201, or: Great Expectations
jmmastey
27
6.3k
Code Review Best Practice
trishagee
54
15k
Become a Pro
speakerdeck
PRO
10
4.5k
Transcript
A byte of NSDATE!
A byte of NSDATE!
@CoderPug
What is this about?
Awfully common mistakes when handling dates
Awfully common mistakes when handling dates
Story time
None
None
None
None
None
Let’s do this
None
YYYY week of year. ISO 8601
yyyy the actual year. duh
YYYY != yyyy
None
https://gist.github.com/CoderPug/723a1ae39e4ff121bb3386247cd4a901
#
None
None
None
None
+1 are welcome
None
References https://twitter.com/dev_jac/status/804049295074848769 http://stackoverflow.com/questions/15133549/difference-between-yyyy- and-yyyy-in-nsdateformatter/41004145#41004145 https://developer.apple.com/reference/foundation/nsdateformatter http://www.unicode.org/reports/tr35/tr35-31/tr35- dates.html#Date_Format_Patterns
THANKS!
+ & + & +
None