Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Light talk - A byte of Date
Search
Jose Torres Cardenas
December 07, 2016
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
290
Swift build time optimization
coderpug
1
81
Jose.pdf
coderpug
0
40
Light talk - Better Error handling
coderpug
0
73
CocoaLima - Meeting structure
coderpug
0
59
CocoaLima #2
coderpug
0
58
Server-side development with Swift
coderpug
0
97
Real Time iOS apps with PubNub
coderpug
0
330
Other Decks in Programming
See All in Programming
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
660
APNsからLive Activityを開始する話
yumnumm
0
170
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Jetpack Compose Mechanisms
skydoves
3
820
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
GraphQLとの向き合い方2022年版
quramy
50
15k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
It's Worth the Effort
3n
188
29k
Designing for Timeless Needs
cassininazir
1
530
Testing 201, or: Great Expectations
jmmastey
46
8.3k
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