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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
280
Swift build time optimization
coderpug
1
81
Jose.pdf
coderpug
0
39
Light talk - Better Error handling
coderpug
0
69
CocoaLima - Meeting structure
coderpug
0
54
CocoaLima #2
coderpug
0
55
Server-side development with Swift
coderpug
0
96
Real Time iOS apps with PubNub
coderpug
0
330
Other Decks in Programming
See All in Programming
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
170
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
150
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
Performance Engineering for Everyone
elenatanasoiu
0
170
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
350
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
11
4.3k
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
250
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
120
JavaDoc 再入門
nagise
1
370
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
210
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
13k
Oxlintのカスタムルールの現況
syumai
6
1.1k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Building an army of robots
kneath
306
46k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
850
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Facilitating Awesome Meetings
lara
57
7k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
170
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
How to make the Groovebox
asonas
2
2.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
270
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
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