L 10 K Ethiopian Dates and Times 03

  • Slides: 12
Download presentation
L 10 K: Ethiopian Dates and Times 03 -12 -2009 L 10 K Team

L 10 K: Ethiopian Dates and Times 03 -12 -2009 L 10 K Team Week Jennifer Harlow 1

Calendar Alignment 2017 -Jan 2017 -Feb 2017 -Mar . . . 04 2009 -05

Calendar Alignment 2017 -Jan 2017 -Feb 2017 -Mar . . . 04 2009 -05 2009 -06 2009 -07. . . 2017 -April 2017 -May 2017 -June . . . 07 2009 -08 2009 -09 2009 -10. . . 2017 -July 2017 -Aug 2017 -Sept. . . 10 2009 -11 2009 -12 13 2010 -01. . . 2017 -Oct 2017 -Nov 2017 -Dec. . . 01 2010 -02 2010 -03 2010 -04. . . Gregorian Ethiopian 2009 Ethiopian 2010 2

Ethiopian dates and the L 10 K App § Every date saved to the

Ethiopian dates and the L 10 K App § Every date saved to the case is saved in both calendars! § Gregorian Date: anc 1_date ØUse this for calculations. § Ethiopian Date: anc 1_date_eth ØUse this for displaying to the user. If a user sees a date in 2017, that is a bug! § Indicator Dates: anc 1_report_month, anc 1_report_week ØUsed for report aggregation on report indicators. 3

Date inputs – the Ethiopian Date Widget You can get the Ethiopian date widget

Date inputs – the Ethiopian Date Widget You can get the Ethiopian date widget into your app easily! In form builder, it’s just a regular date question with an Appearance Attribute. 4

Date inputs – the Ethiopian Date Widget Help for non -Ethiopians § Shows the

Date inputs – the Ethiopian Date Widget Help for non -Ethiopians § Shows the Ethiopian Calendar to the user § Still saves the Gregorian Calendar value to the question 5

Date inputs – the Ethiopian Date Widget Sadly, in Web Apps / App Preview,

Date inputs – the Ethiopian Date Widget Sadly, in Web Apps / App Preview, it only shows the Gregorian calendar. So you might have to use an external reference table or converter when testing. 6

Calculating the Ethiopian date for display and saving to the case What’s the calculation?

Calculating the Ethiopian date for display and saving to the case What’s the calculation? Use the format-date-for-calendar() function: dob_eth = format-date-for-calendar(/data/dob, 'ethiopian', '%Y-%m-%d') ØDanger! Do not use the function without the formatting argument! This changes based on locale of phone because the month is displayed in text (not numeric)! Danger! dob_eth = format-date-for-calendar(/data/dob, 'ethiopian') 7

ETHIOPIAN TIMES 8

ETHIOPIAN TIMES 8

Why does Ethiopia have different times? § Many countries near the equator (at least

Why does Ethiopia have different times? § Many countries near the equator (at least in East Africa!) measure time from sunrise and sunset. This makes a lot of sense because they are easy to identify by eye and happen at the same time every day! § People living far from the equator can’t do that. The sun doesn’t rise and set at the same time every day. So we instead measure from high noon, which is consistent each day. However, noon (and especially midnight) are harder to identify by eye than sunrise and sunset. 9

Ethiopian Time Western/European 20 April 21 April 2017 6 am 12 am 6 ማታ

Ethiopian Time Western/European 20 April 21 April 2017 6 am 12 am 6 ማታ 12 -08 22 April 6 pm 12 am 12 pm 12 ቀን 6 ቀን 12 ማታ 13 -08 -2009 6 ማታ 6 am 12 ቀን 14 -08 Ethiopian 10

Ethiopian times and the L 10 K App § Times are used in the

Ethiopian times and the L 10 K App § Times are used in the app for the first few PNC visits so we can tell how many hours post-delivery they occurred. § Times are asked for and displayed in Ethiopian time with a choice of an hour number and daytime/nighttime. We aren’t dealing with minutes. § Times are saved to the case as hours since the beginning of the day, with sunrise being 0 (so valid values are 0 -23). 11

END OF PRESENTATION 12

END OF PRESENTATION 12