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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jose Torres Cardenas
December 07, 2016
Programming
120
0
Share
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
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
280
Swift build time optimization
coderpug
1
78
Jose.pdf
coderpug
0
38
Light talk - Better Error handling
coderpug
0
67
CocoaLima - Meeting structure
coderpug
0
53
CocoaLima #2
coderpug
0
55
Server-side development with Swift
coderpug
0
95
Real Time iOS apps with PubNub
coderpug
0
330
Other Decks in Programming
See All in Programming
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
500
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.5k
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
310
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.2k
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
Java 21/25 Virtual Threads 소개
debop
0
320
Ruby and LLM Ecosystem 2nd
koic
1
1.4k
Feature Toggle は捨てやすく使おう
gennei
0
400
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
330
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
3
2.7k
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
180
AI 開発合宿を通して得た学び
niftycorp
PRO
0
190
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Six Lessons from altMBA
skipperchong
29
4.2k
Typedesign – Prime Four
hannesfritz
42
3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
190
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
Color Theory Basics | Prateek | Gurzu
gurzu
0
270
Everyday Curiosity
cassininazir
0
180
Unsuck your backbone
ammeep
672
58k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
500
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
110
A Modern Web Designer's Workflow
chriscoyier
698
190k
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